[wpilibc] SysIdRoutineLog: Fix state log entry name typo (#6261)

The Java version has a hyphen between test-state and the mechanism name.
This commit is contained in:
David Vo
2024-01-20 15:42:57 +11:00
committed by GitHub
parent dfaad7ca22
commit d198605562

View File

@@ -43,7 +43,7 @@ void SysIdRoutineLog::RecordState(State state) {
if (!m_stateInitialized) {
m_state =
wpi::log::StringLogEntry{frc::DataLogManager::GetLog(),
fmt::format("sysid-test-state{}", m_logName)};
fmt::format("sysid-test-state-{}", m_logName)};
m_stateInitialized = true;
}
m_state.Append(StateEnumToString(state));