Initialize timer
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / MaintainWinchSpeed.java
index 6d11b64335f74b32ca28bf2d2a49a0869a30ca01..9741eaca200b8b48db27872c19d5e316a4d84536 100644 (file)
@@ -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;