Edit JavaDoc comment, instantiate motorVal
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
index c2949386ee0f01eb7a149950b22a7124f223f44a..c1a316502873df4e42f8ce2c19f69b8595df1084 100644 (file)
@@ -3,14 +3,43 @@ package org.usfirst.frc.team3501.robot.commands.shooter;
 import edu.wpi.first.wpilibj.command.Command;
 
 /**
- * Runs fly wheel continuously until ________
+ * Runs fly wheel continuously when corresponding button pressed
+ *
+ * @param motorVal
+ *          motor value
+ * @author shaina
  */
 public class RunFlyWheelContinuous extends Command {
+  private double motorVal;
 
-       @Override
-       protected boolean isFinished() {
-               // TODO Auto-generated method stub
-               return false;
-       }
+  public RunFlyWheelContinuous(double motorVal) {
+    this.motorVal = motorVal;
+  }
+
+  // Called just before this Command runs the first time
+  @Override
+  protected void initialize() {
+  }
+
+  // Called repeatedly when this Command is scheduled to run
+  @Override
+  protected void execute() {
+  }
+
+  // Called once after isFinished returns true
+  @Override
+  protected void end() {
+  }
+
+  // Called when another command which requires one or more of the same
+  // subsystems is scheduled to run
+  @Override
+  protected void interrupted() {
+  }
+
+  @Override
+  protected boolean isFinished() {
+    return false;
+  }
 
 }