mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal,wpilib] Rename "Test" robot mode to "Utility" (#8782)
The "Utility" name better matches its intended generic use case and avoids overloaded terminology with unit testing (e.g. the need to name the opmode annotation `@TestOpMode`). The driver station will also be updated to reflect this change.
This commit is contained in:
@@ -36,8 +36,8 @@ classes:
|
||||
IsAutonomousEnabled:
|
||||
IsTeleop:
|
||||
IsTeleopEnabled:
|
||||
IsTest:
|
||||
IsTestEnabled:
|
||||
IsUtility:
|
||||
IsUtilityEnabled:
|
||||
AddOpMode:
|
||||
overloads:
|
||||
RobotMode, std::string_view, std::string_view, std::string_view, const wpi::util::Color&, const wpi::util::Color&:
|
||||
|
||||
@@ -5,12 +5,12 @@ classes:
|
||||
DisabledInit:
|
||||
AutonomousInit:
|
||||
TeleopInit:
|
||||
TestInit:
|
||||
UtilityInit:
|
||||
RobotPeriodic:
|
||||
DisabledPeriodic:
|
||||
AutonomousPeriodic:
|
||||
TeleopPeriodic:
|
||||
TestPeriodic:
|
||||
UtilityPeriodic:
|
||||
IterativeRobotBase:
|
||||
overloads:
|
||||
double:
|
||||
@@ -22,7 +22,7 @@ classes:
|
||||
DisabledExit:
|
||||
AutonomousExit:
|
||||
TeleopExit:
|
||||
TestExit:
|
||||
UtilityExit:
|
||||
GetPeriod:
|
||||
PrintWatchdogEpochs:
|
||||
doc: |
|
||||
@@ -44,7 +44,7 @@ classes:
|
||||
- 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
|
||||
- UtilityInit() -- called each and every time utility is entered from another mode
|
||||
|
||||
Periodic() functions -- each of these functions is called on an interval:
|
||||
|
||||
@@ -52,7 +52,7 @@ classes:
|
||||
- DisabledPeriodic()
|
||||
- AutonomousPeriodic()
|
||||
- TeleopPeriodic()
|
||||
- TestPeriodic()
|
||||
- UtilityPeriodic()
|
||||
|
||||
Exit() functions -- each of the following functions is called once when the
|
||||
appropriate mode is exited:
|
||||
@@ -60,4 +60,4 @@ classes:
|
||||
- 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
|
||||
- UtilityExit() -- called each and every time utility is exited
|
||||
|
||||
@@ -25,8 +25,8 @@ classes:
|
||||
IsAutonomousEnabled:
|
||||
IsTeleop:
|
||||
IsTeleopEnabled:
|
||||
IsTest:
|
||||
IsTestEnabled:
|
||||
IsUtility:
|
||||
IsUtilityEnabled:
|
||||
GetThreadId:
|
||||
ignore: true
|
||||
StartCompetition:
|
||||
|
||||
@@ -12,8 +12,8 @@ classes:
|
||||
IsAutonomousEnabled:
|
||||
IsTeleop:
|
||||
IsTeleopEnabled:
|
||||
IsTest:
|
||||
IsTestEnabled:
|
||||
IsUtility:
|
||||
IsUtilityEnabled:
|
||||
AddOpMode:
|
||||
overloads:
|
||||
RobotMode, std::string_view, std::string_view, std::string_view, const wpi::util::Color&, const wpi::util::Color&:
|
||||
|
||||
Reference in New Issue
Block a user