Fix NPE in RamseteCommand (#2019)

This commit is contained in:
Oblarg
2019-11-01 12:26:48 -04:00
committed by Peter Johnson
parent 1c1e0c9a6a
commit f33bd9f050
3 changed files with 21 additions and 8 deletions

View File

@@ -143,5 +143,6 @@ class RamseteCommand : public CommandHelper<CommandBase, RamseteCommand> {
Timer m_timer;
units::second_t m_prevTime;
frc::DifferentialDriveWheelSpeeds m_prevSpeeds;
bool m_usePID;
};
} // namespace frc2