Set Button Value
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / RunWinchContinuous.java
index 381a80acd63d17f77a9729910bceffb8cb5a0a41..dc29866a2e4892cd6ba49491e1afcd81fdd3de9d 100644 (file)
@@ -14,13 +14,12 @@ public class RunWinchContinuous extends Command {
   private double motorVal;
 
   public RunWinchContinuous(double motorVal) {
-    requires(Robot.getClimber());
     this.motorVal = motorVal;
   }
 
   @Override
   protected void initialize() {
-    Robot.getClimber().setMotorValues(motorVal);
+    Robot.getClimber().setMotorValue(motorVal);
 
   }