Files
allwpilib/wpilibc/src/main/python/semiwrap/DriverStation.yml
2026-03-15 22:38:09 -07:00

82 lines
1.9 KiB
YAML

extra_includes:
- wpi/datalog/DataLog.hpp
- wpi/util/Color.hpp
classes:
wpi::DriverStation:
attributes:
JOYSTICK_PORTS:
enums:
Alliance:
MatchType:
POVDirection:
methods:
GetStickButton:
GetStickButtonPressed:
GetStickButtonReleased:
GetStickAxis:
GetStickPOV:
GetStickButtons:
GetJoystickGamepadType:
GetJoystickSupportedOutputs:
GetJoystickName:
IsJoystickConnected:
IsEnabled:
IsDisabled:
IsEStopped:
IsAutonomous:
IsAutonomousEnabled:
IsTeleop:
IsTeleopEnabled:
IsTest:
IsTestEnabled:
IsDSAttached:
IsFMSAttached:
GetGameData:
GetEventName:
GetMatchType:
GetMatchNumber:
GetReplayNumber:
GetAlliance:
GetLocation:
GetMatchTime:
GetBatteryVoltage:
RefreshData:
ProvideRefreshedDataEventHandle:
RemoveRefreshedDataEventHandle:
SilenceJoystickConnectionWarning:
IsJoystickConnectionWarningSilenced:
StartDataLog:
GetAngle:
GetJoystickIsGamepad:
GetStickButtonIfAvailable:
GetStickAxisIfAvailable:
GetStickAxesMaximumIndex:
GetStickAxesAvailable:
GetStickPOVsMaximumIndex:
GetStickPOVsAvailable:
GetStickButtonsMaximumIndex:
GetStickButtonsAvailable:
GetRobotMode:
AddOpMode:
overloads:
RobotMode, std::string_view, std::string_view, std::string_view:
RobotMode, std::string_view, std::string_view, std::string_view, const wpi::util::Color&, const wpi::util::Color&:
RemoveOpMode:
PublishOpModes:
ClearOpModes:
GetOpModeId:
GetOpMode:
IsOpMode:
overloads:
int64_t:
std::string_view:
GetControlWord:
GetStickTouchpadFinger:
GetStickTouchpadFingerAvailable:
wpi::DriverStation::TouchpadFinger:
attributes:
down:
x:
y: