Skip to content

Commit fe23dac

Browse files
committed
Updates for wpilib
1 parent 089d35c commit fe23dac

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

subprojects/robotpy-wpilib/gen/LEDPattern.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ classes:
44
LEDPattern:
55
attributes:
66
kOff:
7+
enums:
8+
GradientType:
79
methods:
10+
'Off':
811
LEDPattern:
912
ApplyTo:
1013
overloads:
@@ -33,7 +36,7 @@ classes:
3336
ignore: true
3437
Gradient:
3538
overloads:
36-
std::span<const Color>:
37-
std::initializer_list<Color>:
39+
GradientType, std::span<const Color>:
40+
GradientType, std::initializer_list<Color>:
3841
ignore: true
3942
Rainbow:

subprojects/robotpy-wpilib/gen/SensorUtil.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ classes:
2727
CheckPDPModule:
2828
GetDefaultCTREPCMModule:
2929
GetDefaultREVPHModule:
30+
GetNumDigitalChannels:
31+
GetNumAnalogInputs:
32+
GetNumAnalogOuputs:
33+
GetNumPwmChannels:
34+
GetNumRelayChannels:

subprojects/robotpy-wpilib/gen/simulation/DCMotorSim.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ classes:
77
methods:
88
DCMotorSim:
99
overloads:
10-
const LinearSystem<2, 1, 2>&, const DCMotor&, double, const std::array<double, 2>&:
10+
const LinearSystem<2, 1, 2>&, const DCMotor&, const std::array<double, 2>&:
1111
param_override:
1212
plant:
1313
x_type: frc::LinearSystem<2,1,2>
14-
const DCMotor&, double, units::kilogram_square_meter_t, const std::array<double, 2>&:
1514
SetState:
1615
GetAngularPosition:
1716
GetAngularVelocity:

0 commit comments

Comments
 (0)