Remove true thing and replace with good thing

This commit is contained in:
Keenan D. Buckley
2020-03-02 23:37:45 +00:00
committed by GitHub
parent e0966aa65b
commit 60b67a89dd
@@ -82,7 +82,7 @@ public class DriveWithJoystickUsingDeadAssistPID extends CommandBase {
}
/* If move stick is being used */
if (true) {
if (moveInput != 0) {
m_deadTimeMove = m_currTime;
m_stopPos = m_drive.m_rightFrontMotor.getSelectedSensorPosition()
+ (m_drive.m_rightFrontMotor.getSelectedSensorVelocity());