CANJaguar::ChangeControlMode marks the controlmode as unverified

This previous caused a bug where the Jaguar would sometimes
behave as if it were in the wrong mode, even when everything was
verfied.

Change-Id: Id5b96e0f7e64066eaaa0e5be4ba53fca76ba0703
This commit is contained in:
thomasclark
2014-07-24 13:23:09 -04:00
parent 3fb4159101
commit c81d510ebe
2 changed files with 2 additions and 0 deletions

View File

@@ -1350,6 +1350,7 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
// Update the local mode
m_controlMode = controlMode;
m_controlModeVerified = false;
}
/**