Skip to content

Commit

Permalink
Update to latest pre-kickoff release
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 6, 2024
1 parent 7244992 commit 4dc487e
Show file tree
Hide file tree
Showing 24 changed files with 203 additions and 28 deletions.
10 changes: 8 additions & 2 deletions subprojects/robotpy-wpilib/gen/ADIS16470_IMU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ classes:
ADIS16470_IMU:
overloads:
"":
IMUAxis, SPI::Port, CalibrationTime:
IMUAxis, IMUAxis, IMUAxis:
IMUAxis, IMUAxis, IMUAxis, frc::SPI::Port, CalibrationTime:
ConfigDecRate:
Calibrate:
ConfigCalTime:
Reset:
SetGyroAngle:
SetGyroAngleX:
SetGyroAngleY:
SetGyroAngleZ:
GetAngle:
GetRate:
GetAccelX:
Expand All @@ -31,7 +36,8 @@ classes:
GetXFilteredAccelAngle:
GetYFilteredAccelAngle:
GetYawAxis:
SetYawAxis:
GetPitchAxis:
GetRollAxis:
IsConnected:
GetPort:
InitSendable:
15 changes: 1 addition & 14 deletions subprojects/robotpy-wpilib/gen/ADXL345_I2C.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,14 @@ classes:
- frc::ADXL345_I2C::Range::kRange_2G
ignored_bases:
- wpi::SendableHelper<ADXL345_I2C>
attributes:
m_i2c:
ignore: true
m_simDevice:
m_simRange:
m_simX:
m_simY:
m_simZ:
kAddress:
kPowerCtlRegister:
kDataFormatRegister:
kDataRegister:
kGsPerLSB:
enums:
Axes:
Range:
methods:
ADXL345_I2C:
param_override:
deviceAddress:
default: ADXL345_I2C_Trampoline::kAddress
default: 0x1d
GetI2CPort:
GetI2CDeviceAddress:
SetRange:
Expand Down
1 change: 1 addition & 0 deletions subprojects/robotpy-wpilib/gen/Color8Bit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ classes:
name: blue
const Color& [constexpr]:
std::string_view [constexpr]:
FromHexString:
HexString:
operator==:

Expand Down
6 changes: 6 additions & 0 deletions subprojects/robotpy-wpilib/gen/PWMMotorController.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ classes:
m_pwm:
methods:
Set:
SetVoltage:
Get:
SetInverted:
GetInverted:
Expand All @@ -20,5 +21,10 @@ classes:
GetDescription:
GetChannel:
EnableDeadbandElimination:
AddFollower:
overloads:
PWMMotorController&:
T&&:
ignore: true
PWMMotorController:
InitSendable:
6 changes: 6 additions & 0 deletions subprojects/robotpy-wpilib/gen/PWMSparkFlex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---

classes:
PWMSparkFlex:
methods:
PWMSparkFlex:
2 changes: 2 additions & 0 deletions subprojects/robotpy-wpilib/gen/PneumaticHub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ classes:
Brownout:
CanWarning:
HardwareFault:
methods:
GetChannelFault:
PneumaticHub::StickyFaults:
attributes:
CompressorOverCurrent:
Expand Down
4 changes: 4 additions & 0 deletions subprojects/robotpy-wpilib/gen/PowerDistribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ classes:
Brownout:
CanWarning:
HardwareFault:
methods:
GetBreakerFault:
PowerDistribution::StickyFaults:
attributes:
Channel0BreakerFault:
Expand Down Expand Up @@ -99,3 +101,5 @@ classes:
CanWarning:
CanBusOff:
HasReset:
methods:
GetBreakerFault:
5 changes: 5 additions & 0 deletions subprojects/robotpy-wpilib/gen/RobotController.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---

enums:
RadioLEDState:

classes:
CANStatus:
shared_ptr: false
Expand Down Expand Up @@ -47,4 +50,6 @@ classes:
GetBrownoutVoltage:
SetBrownoutVoltage:
GetCPUTemp:
SetRadioLEDState:
GetRadioLEDState:
GetCANStatus:
93 changes: 93 additions & 0 deletions subprojects/robotpy-wpilib/gen/StadiaController.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---

classes:
StadiaController:
methods:
StadiaController:
GetLeftX:
GetRightX:
GetLeftY:
GetRightY:
GetLeftBumper:
GetRightBumper:
GetLeftBumperPressed:
GetRightBumperPressed:
GetLeftBumperReleased:
GetRightBumperReleased:
LeftBumper:
RightBumper:
GetLeftStickButton:
GetRightStickButton:
GetLeftStickButtonPressed:
GetRightStickButtonPressed:
GetLeftStickButtonReleased:
GetRightStickButtonReleased:
LeftStick:
RightStick:
GetAButton:
GetAButtonPressed:
GetAButtonReleased:
A:
GetBButton:
GetBButtonPressed:
GetBButtonReleased:
B:
GetXButton:
GetXButtonPressed:
GetXButtonReleased:
X:
GetYButton:
GetYButtonPressed:
GetYButtonReleased:
Y:
GetEllipsesButton:
GetEllipsesButtonPressed:
GetEllipsesButtonReleased:
Ellipses:
GetHamburgerButton:
GetHamburgerButtonPressed:
GetHamburgerButtonReleased:
Hamburger:
GetStadiaButton:
GetStadiaButtonPressed:
GetStadiaButtonReleased:
Stadia:
GetGoogleButton:
GetGoogleButtonPressed:
GetGoogleButtonReleased:
Google:
GetFrameButton:
GetFrameButtonPressed:
GetFrameButtonReleased:
Frame:
GetLeftTriggerButton:
GetLeftTriggerButtonPressed:
GetLeftTriggerButtonReleased:
LeftTrigger:
GetRightTriggerButton:
GetRightTriggerButtonPressed:
GetRightTriggerButtonReleased:
RightTrigger:
StadiaController::Button:
attributes:
kA:
kB:
kX:
kY:
kLeftBumper:
kRightBumper:
kLeftStick:
kRightStick:
kEllipses:
kHamburger:
kStadia:
kRightTrigger:
kLeftTrigger:
kGoogle:
kFrame:
StadiaController::Axis:
attributes:
kLeftX:
kRightX:
kLeftY:
kRightY:
33 changes: 33 additions & 0 deletions subprojects/robotpy-wpilib/gen/SysIdRoutineLog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---

enums:
State:
subpackage: sysid
classes:
SysIdRoutineLog:
subpackage: sysid
methods:
SysIdRoutineLog:
RecordState:
Motor:
StateEnumToString:
SysIdRoutineLog::MotorLog:
subpackage: sysid
methods:
MotorLog:
ignore: true
value:
voltage:
position:
overloads:
units::meter_t:
units::turn_t:
velocity:
overloads:
units::meters_per_second_t:
units::turns_per_second_t:
acceleration:
overloads:
units::meters_per_second_squared_t:
units::turns_per_second_squared_t:
current:
2 changes: 2 additions & 0 deletions subprojects/robotpy-wpilib/gen/drive/RobotDriveBase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ classes:
attributes:
m_deadband:
m_maxOutput:
kDefaultDeadband:
kDefaultMaxOutput:
enums:
MotorType:
methods:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ classes:
methods:
AnalogTriggerSim:
overloads:
const frc::AnalogTrigger&:
const AnalogTrigger&:
CreateForChannel:
CreateForIndex:
RegisterInitializedCallback:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ classes:
methods:
DigitalPWMSim:
overloads:
const frc::DigitalOutput&:
const DigitalOutput&:
CreateForChannel:
CreateForIndex:
RegisterInitializedCallback:
Expand Down
2 changes: 1 addition & 1 deletion subprojects/robotpy-wpilib/gen/simulation/DutyCycleSim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ classes:
methods:
DutyCycleSim:
overloads:
const frc::DutyCycle&:
const DutyCycle&:
CreateForChannel:
CreateForIndex:
RegisterInitializedCallback:
Expand Down
2 changes: 1 addition & 1 deletion subprojects/robotpy-wpilib/gen/simulation/EncoderSim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ classes:
methods:
EncoderSim:
overloads:
const frc::Encoder&:
const Encoder&:
CreateForChannel:
CreateForIndex:
RegisterInitializedCallback:
Expand Down
3 changes: 3 additions & 0 deletions subprojects/robotpy-wpilib/gen/simulation/RoboRioSim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ classes:
SetSerialNumber:
GetComments:
SetComments:
RegisterRadioLEDStateCallback:
GetRadioLEDState:
SetRadioLEDState:
ResetData:
4 changes: 4 additions & 0 deletions subprojects/robotpy-wpilib/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Servo = "frc/Servo.h"
Solenoid = "frc/Solenoid.h"
# SpeedController = "frc/SpeedController.h" # interfaces
# SpeedControllerGroup = "frc/SpeedControllerGroup.h"
StadiaController = "frc/StadiaController.h"
SynchronousInterrupt = "frc/SynchronousInterrupt.h"
Threads = "frc/Threads.h"
TimedRobot = "frc/TimedRobot.h"
Expand Down Expand Up @@ -188,6 +189,9 @@ SendableChooser = "frc/smartdashboard/SendableChooser.h"
SendableChooserBase = "frc/smartdashboard/SendableChooserBase.h"
SmartDashboard = "frc/smartdashboard/SmartDashboard.h"

# frc/sysid
SysIdRoutineLog = "frc/sysid/SysIdRoutineLog.h"

# frc/util
Color = "frc/util/Color.h"
Color8Bit = "frc/util/Color8Bit.h"
Expand Down
Loading

0 comments on commit 4dc487e

Please sign in to comment.