mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[wpilib] Rename SysIdRoutineLog constants to all caps
This commit is contained in:
@@ -53,15 +53,15 @@ void SysIdRoutineLog::RecordState(State state) {
|
||||
|
||||
std::string SysIdRoutineLog::StateEnumToString(State state) {
|
||||
switch (state) {
|
||||
case State::kQuasistaticForward:
|
||||
case State::QUASISTATIC_FORWARD:
|
||||
return "quasistatic-forward";
|
||||
case State::kQuasistaticReverse:
|
||||
case State::QUASISTATIC_REVERSE:
|
||||
return "quasistatic-reverse";
|
||||
case State::kDynamicForward:
|
||||
case State::DYNAMIC_FORWARD:
|
||||
return "dynamic-forward";
|
||||
case State::kDynamicReverse:
|
||||
case State::DYNAMIC_REVERSE:
|
||||
return "dynamic-reverse";
|
||||
case State::kNone:
|
||||
case State::NONE:
|
||||
return "none";
|
||||
default:
|
||||
return "none";
|
||||
|
||||
@@ -24,15 +24,15 @@ namespace wpi::sysid {
|
||||
*/
|
||||
enum class State {
|
||||
/// Quasistatic forward test.
|
||||
kQuasistaticForward,
|
||||
QUASISTATIC_FORWARD,
|
||||
/// Quasistatic reverse test.
|
||||
kQuasistaticReverse,
|
||||
QUASISTATIC_REVERSE,
|
||||
/// Dynamic forward test.
|
||||
kDynamicForward,
|
||||
DYNAMIC_FORWARD,
|
||||
/// Dynamic reverse test.
|
||||
kDynamicReverse,
|
||||
DYNAMIC_REVERSE,
|
||||
/// No test.
|
||||
kNone
|
||||
NONE
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user