[wpilib] Rename SysIdRoutineLog constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 16:39:10 -07:00
parent 8fa6976cb2
commit 6559d78658
9 changed files with 54 additions and 54 deletions

View File

@@ -38,19 +38,19 @@ class SysIdRoutineTest : public ::testing::Test {
std::nullopt, std::nullopt, std::nullopt,
[this](wpi::sysid::State state) {
switch (state) {
case wpi::sysid::State::kQuasistaticForward:
case wpi::sysid::State::QUASISTATIC_FORWARD:
currentStateList.emplace_back(StateTest::InRecordStateQf);
break;
case wpi::sysid::State::kQuasistaticReverse:
case wpi::sysid::State::QUASISTATIC_REVERSE:
currentStateList.emplace_back(StateTest::InRecordStateQr);
break;
case wpi::sysid::State::kDynamicForward:
case wpi::sysid::State::DYNAMIC_FORWARD:
currentStateList.emplace_back(StateTest::InRecordStateDf);
break;
case wpi::sysid::State::kDynamicReverse:
case wpi::sysid::State::DYNAMIC_REVERSE:
currentStateList.emplace_back(StateTest::InRecordStateDr);
break;
case wpi::sysid::State::kNone:
case wpi::sysid::State::NONE:
currentStateList.emplace_back(StateTest::DoneWithRecordState);
break;
}