Skip to content

Commit e821773

Browse files
authored
Expose sensor and digital input constructors (#30)
1 parent 747ffe6 commit e821773

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

gen/CANAnalog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ classes:
1010
AnalogMode:
1111
methods:
1212
CANAnalog:
13-
ignore: true
13+
keepalive:
14+
- [1, 2]
1415
GetVoltage:
1516
GetPosition:
1617
GetVelocity:

gen/CANDigitalInput.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ classes:
1111
LimitSwitchPolarity:
1212
methods:
1313
CANDigitalInput:
14-
ignore: true
14+
keepalive:
15+
- [1, 2]
1516
Get:
1617
EnableLimitSwitch:
1718
IsLimitSwitchEnabled:

gen/CANEncoder.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ classes:
1313
CANEncoder:
1414
overloads:
1515
rev::CANSparkMax&, rev::CANEncoder::EncoderType, int:
16-
ignore: true
16+
keepalive:
17+
- [1, 2]
1718
rev::CANSparkMax&, rev::CANEncoder::AlternateEncoderType, int:
18-
ignore: true
19+
keepalive:
20+
- [1, 2]
1921
GetPosition:
2022
GetVelocity:
2123
SetPosition:

0 commit comments

Comments
 (0)