mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
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:
@@ -1350,6 +1350,7 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
|
||||
|
||||
// Update the local mode
|
||||
m_controlMode = controlMode;
|
||||
m_controlModeVerified = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user