Edit JavaDoc comments in shooter commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheel.java
index 74a7d7047a4dd04524738231465b0aec7137927a..cac708e4d13b5770b2b1e9b7a150e215a586c47d 100644 (file)
@@ -3,19 +3,51 @@ package org.usfirst.frc.team3501.robot.commands.shooter;
 import edu.wpi.first.wpilibj.command.Command;
 
 /**
- * Runs index wheel at a given speed in () for input time in seconds
+ * This command runs index wheel at a given speed for given time in seconds.
  *
- * @param speed
- *            in ()
+ * pre-condition: fly wheel is running at full speed to prepare for shooting
+ * fuel
+ *
+ *
+ * @param motorVal
+ *          [-1,1]
  * @param time
- *            in seconds
+ *          in seconds
+ * @author shaina
  */
 public class RunIndexWheel extends Command {
+  private double time;
+  private double motorVal;
+
+  public RunIndexWheel(double motorVal, double time) {
+    this.motorVal = motorVal;
+    this.time = time;
+  }
+
+  // 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() {
-               // TODO Auto-generated method stub
-               return false;
-       }
+  @Override
+  protected boolean isFinished() {
+    return false;
+  }
 
 }