mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41: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:
@@ -29,9 +29,9 @@ public class Robot extends TimedRobot {
|
||||
@Override
|
||||
public void teleopPeriodic() {}
|
||||
|
||||
/** This function is called periodically during test mode. */
|
||||
/** This function is called periodically during utility mode. */
|
||||
@Override
|
||||
public void testPeriodic() {}
|
||||
public void utilityPeriodic() {}
|
||||
|
||||
/** This function is called periodically during all modes. */
|
||||
@Override
|
||||
|
||||
@@ -35,7 +35,7 @@ class Robot : public wpi::TimedRobot {
|
||||
/**
|
||||
* This function is called periodically during test mode
|
||||
*/
|
||||
void TestPeriodic() override {}
|
||||
void UtilityPeriodic() override {}
|
||||
|
||||
/**
|
||||
* This function is called periodically during all modes
|
||||
|
||||
Reference in New Issue
Block a user