edit continuous commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / RunWinchContinuous.java
index 1cd5381786659f8f9e4c00b6f640efac174ea00a..e20121024a0528b7d3a8c0637f96bc154f4a39a2 100644 (file)
@@ -5,17 +5,13 @@ import org.usfirst.frc.team3501.robot.Robot;
 import edu.wpi.first.wpilibj.command.Command;
 
 /**
- * This command will run the winch motor continuously until the button
- * triggering it is released. This command also makes the drive train motors run
- * because the winch is controlled by the drive train.
+ * This command runs the drive train motors (which runs the winch) continuously
+ * at a specified speed until the button triggering it is released
  *
- * pre-condition: This command must be run by a button in OI. The robot must be
- * attached to the rope.
+ * pre-condition: This command must be run by a button in OI with
+ * button.whileHeld(...). The robot must be attached to the rope.
  *
- * post-condition: Winch motor set to a specified speed.
- *
- * @param motorVal
- *          value range is from -1 to 1
+ * post-condition: Drive train motors set to a specified speed.
  *
  * @author shivanighanta
  *
@@ -37,7 +33,6 @@ public class RunWinchContinuous extends Command {
   @Override
   protected void initialize() {
     Robot.getDriveTrain().setMotorValues(motorVal, motorVal);
-
   }
 
   @Override