mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +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:
@@ -63,11 +63,11 @@ public class Robot extends TimedRobot {
|
||||
m_robotDrive.arcadeDrive(-m_controller.getLeftY(), -m_controller.getRightX());
|
||||
}
|
||||
|
||||
/** This function is called once each time the robot enters test mode. */
|
||||
/** This function is called once each time the robot enters utility mode. */
|
||||
@Override
|
||||
public void testInit() {}
|
||||
public void utilityInit() {}
|
||||
|
||||
/** This function is called periodically during test mode. */
|
||||
/** This function is called periodically during utility mode. */
|
||||
@Override
|
||||
public void testPeriodic() {}
|
||||
public void utilityPeriodic() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user