mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[robotpy] Sync robotpy (#8318)
Project import generated by Copybara. GitOrigin-RevId: f6818c55dda55da1226e47a05a22d30f7cc477f1
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
extra_includes:
|
||||
- wpi/sendable/SendableBuilder.h
|
||||
- frc/AnalogInput.h
|
||||
|
||||
classes:
|
||||
frc::AnalogGyro:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<AnalogGyro>
|
||||
methods:
|
||||
AnalogGyro:
|
||||
overloads:
|
||||
int:
|
||||
AnalogInput*:
|
||||
ignore: true
|
||||
std::shared_ptr<AnalogInput>:
|
||||
int, int, double:
|
||||
std::shared_ptr<AnalogInput>, int, double:
|
||||
GetAngle:
|
||||
GetRate:
|
||||
GetCenter:
|
||||
GetOffset:
|
||||
SetSensitivity:
|
||||
SetDeadband:
|
||||
Reset:
|
||||
InitGyro:
|
||||
Calibrate:
|
||||
GetRotation2d:
|
||||
GetAnalogInput:
|
||||
InitSendable:
|
||||
@@ -181,7 +181,7 @@ inline_code: |
|
||||
^ (std::hash<double>{}(self->green) << 1)
|
||||
^ (std::hash<double>{}(self->blue) << 2)
|
||||
);
|
||||
return h != -1 ? h : -2;
|
||||
return h != static_cast<size_t>(-1) ? h : -2;
|
||||
})
|
||||
.def("__repr__", [](Color *self) {
|
||||
return "Color("
|
||||
|
||||
@@ -42,7 +42,6 @@ classes:
|
||||
GetReplayNumber:
|
||||
GetAlliance:
|
||||
GetLocation:
|
||||
WaitForDsConnection:
|
||||
GetMatchTime:
|
||||
GetBatteryVoltage:
|
||||
RefreshData:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
classes:
|
||||
frc::IterativeRobotBase:
|
||||
methods:
|
||||
RobotInit:
|
||||
DriverStationConnected:
|
||||
DisabledInit:
|
||||
AutonomousInit:
|
||||
|
||||
@@ -9,8 +9,6 @@ classes:
|
||||
frc::RobotController:
|
||||
nodelete: true
|
||||
methods:
|
||||
GetFPGAVersion:
|
||||
GetFPGARevision:
|
||||
GetSerialNumber:
|
||||
GetComments:
|
||||
GetTeamNumber:
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
extra_includes:
|
||||
- wpi/sendable/SendableBuilder.h
|
||||
|
||||
classes:
|
||||
frc::Servo:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<Servo>
|
||||
methods:
|
||||
Servo:
|
||||
Set:
|
||||
Get:
|
||||
SetAngle:
|
||||
GetAngle:
|
||||
InitSendable:
|
||||
GetChannel:
|
||||
@@ -1,9 +0,0 @@
|
||||
classes:
|
||||
frc::sim::ServoSim:
|
||||
methods:
|
||||
ServoSim:
|
||||
overloads:
|
||||
const Servo&:
|
||||
int:
|
||||
GetPosition:
|
||||
GetAngle:
|
||||
Reference in New Issue
Block a user