[robotpy] Mirror most other subprojects (#8208)

GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a

This mirrors the robotpy files for the following projects:
- apriltag
- datalog
- hal
- ntcore
- romiVendordep
- wpilibc
- wpimath
- xrpVendordep

This excludes cscore and the halsim wrappers for at this time.

NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
This commit is contained in:
PJ Reiniger
2025-10-24 01:28:04 -04:00
committed by GitHub
parent 8992dcdc99
commit 44b9cc1398
545 changed files with 27293 additions and 38 deletions

View File

@@ -0,0 +1,66 @@
classes:
frc::IterativeRobotBase:
methods:
RobotInit:
DriverStationConnected:
DisabledInit:
AutonomousInit:
TeleopInit:
TestInit:
RobotPeriodic:
DisabledPeriodic:
AutonomousPeriodic:
TeleopPeriodic:
TestPeriodic:
IterativeRobotBase:
overloads:
double:
ignore: true
units::second_t:
LoopFunc:
SimulationInit:
internal: true
SimulationPeriodic:
internal: true
DisabledExit:
AutonomousExit:
TeleopExit:
TestExit:
SetNetworkTablesFlushEnabled:
GetPeriod:
PrintWatchdogEpochs:
doc: |
IterativeRobotBase implements a specific type of robot program framework,
extending the RobotBase class.
The IterativeRobotBase class does not implement StartCompetition(), so it
should not be used by teams directly.
This class provides the following functions which are called by the main
loop, StartCompetition(), at the appropriate times:
RobotInit() -- provide for initialization at robot power-on
Init() functions -- each of the following functions is called once when the
appropriate mode is entered:
- DisabledInit() -- called each and every time disabled is entered from another mode
- AutonomousInit() -- called each and every time autonomous is entered from another mode
- TeleopInit() -- called each and every time teleop is entered from another mode
- TestInit() -- called each and every time test is entered from another mode
Periodic() functions -- each of these functions is called on an interval:
- RobotPeriodic()
- DisabledPeriodic()
- AutonomousPeriodic()
- TeleopPeriodic()
- TestPeriodic()
Exit() functions -- each of the following functions is called once when the
appropriate mode is exited:
- DisabledExit() -- called each and every time disabled is exited
- AutonomousExit() -- called each and every time autonomous is exited
- TeleopExit() -- called each and every time teleop is exited
- TestExit() -- called each and every time test is exited