X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fclimber%2FRunWinch.java;h=2428aff2345244364035e842c40042626d27c74d;hp=88195a4b2d89227fffaa90ea3bf2ede0cbda4572;hb=6feace1b99b9f5377a1f76da783aa5e05effb75a;hpb=44c26e0c3c4ce87e3b86781de37293503221956c diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java index 88195a4..2428aff 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java @@ -38,6 +38,7 @@ public class RunWinch extends Command { */ public RunWinch(double time, double motorVal) { requires(Robot.getDriveTrain()); + timer = new Timer(); this.time = time; this.motorVal = motorVal; }