mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +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:
@@ -56,7 +56,7 @@ void DSCommPacket::SetControl(uint8_t control, uint8_t request) {
|
||||
if ((control & kAutonomous) != 0) {
|
||||
robotMode = HAL_ROBOT_MODE_AUTONOMOUS;
|
||||
} else if ((control & kTest) != 0) {
|
||||
robotMode = HAL_ROBOT_MODE_TEST;
|
||||
robotMode = HAL_ROBOT_MODE_UTILITY;
|
||||
} else {
|
||||
robotMode = HAL_ROBOT_MODE_TELEOPERATED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user