X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fclimber%2FMaintainWinchSpeed.java;h=9741eaca200b8b48db27872c19d5e316a4d84536;hp=6d11b64335f74b32ca28bf2d2a49a0869a30ca01;hb=6feace1b99b9f5377a1f76da783aa5e05effb75a;hpb=44c26e0c3c4ce87e3b86781de37293503221956c diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/MaintainWinchSpeed.java b/src/org/usfirst/frc/team3501/robot/commands/climber/MaintainWinchSpeed.java index 6d11b64..9741eac 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/MaintainWinchSpeed.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/MaintainWinchSpeed.java @@ -37,6 +37,7 @@ public class MaintainWinchSpeed extends Command { * value range is from -1 to 1 */ public MaintainWinchSpeed(double time, double motorVal) { + timer = new Timer(); requires(Robot.getDriveTrain()); this.time = time; this.motorVal = motorVal;