Fixed Deadband Issue

Made motors running at same speed.
This commit is contained in:
aarav18
2020-01-18 09:27:53 -08:00
parent 4d7a03d230
commit c72a32efb2
2 changed files with 8 additions and 5 deletions
@@ -88,8 +88,8 @@ public class RobotContainer {
new JoystickButton(getDriverJoystick(), XboxController.Y_BUTTON)
.whenPressed(new DriveAtVelocityPID(m_robotDrive, 2000));
new JoystickButton(getDriverJoystick(), XboxController.LEFT_JOYSTICK_BUTTON)
.whenPressed(new InstantCommand(null, m_robotDrive));
//new JoystickButton(getDriverJoystick(), XboxController.LEFT_JOYSTICK_BUTTON)
//.whenPressed(new InstantCommand(null, m_robotDrive));
}
/**