add timeout input to runWinchContinuous
authorShaina Chen <shaina.sierra@gmail.com>
Tue, 16 Feb 2016 19:16:30 +0000 (11:16 -0800)
committerShaina Chen <shaina.sierra@gmail.com>
Tue, 16 Feb 2016 19:16:30 +0000 (11:16 -0800)
src/org/usfirst/frc/team3501/robot/OI.java

index cb23990c52fdbac76ed9319141505cd52cd8c599..ad43c2a1ef3f163b884781742b6c721fa7502cb1 100644 (file)
@@ -131,7 +131,7 @@ public class OI {
       // intake button stops the winch
       // shoot button extends the lift
       toggleShooter.whenPressed(new RunWinchContinuous(
-          Constants.Scaler.WINCH_IN_SPEED));
+          Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
       compactRobot_1.whenPressed(new RetractLift());
       compactRobot_2.whenPressed(new RetractLift());