Edit javaDoc comments in commands that run continously
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
index 8a6e5be4f9e3f1571afd4debb4c431198416fa73..ca5f90d78262065dad305b8e5c7255f01bb4249f 100644 (file)
@@ -5,9 +5,12 @@ import org.usfirst.frc.team3501.robot.Robot;
 import edu.wpi.first.wpilibj.command.Command;
 
 /**
- * This command will run the fly wheel motor continuously until the button
+ * This command runs the fly wheel continuously when OI button managing fly
+ * wheel is pressed. The command will run the fly wheel motor until the button
  * triggering it is released.
  *
+ * Should only be run from the operator interface.
+ *
  * pre-condition: This command must be run by a button in OI, with
  * button.whileHeld(...).
  *
@@ -40,7 +43,6 @@ public class RunFlyWheelContinuous extends Command {
   // Called once after isFinished returns true
   @Override
   protected void end() {
-    Robot.getShooter().stopFlyWheel();
   }
 
   // Called when another command which requires one or more of the same
@@ -52,9 +54,7 @@ public class RunFlyWheelContinuous extends Command {
 
   @Override
   protected boolean isFinished() {
-    // TODO
     return false;
-
   }
 
 }