From 7eacce4542753af300aeb015618dbd1b523e13bc Mon Sep 17 00:00:00 2001 From: Shaina Chen Date: Tue, 16 Feb 2016 11:16:30 -0800 Subject: [PATCH] add timeout input to runWinchContinuous --- src/org/usfirst/frc/team3501/robot/OI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index cb23990c..ad43c2a1 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -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()); -- 2.30.2