Edit JavaDoc comment, instantiate motorVal
authorshainachen <shaina.sierra@gmail.com>
Sat, 14 Jan 2017 21:24:20 +0000 (13:24 -0800)
committerCindy Zhang <cindyzyx9@gmail.com>
Sat, 14 Jan 2017 22:28:37 +0000 (14:28 -0800)
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java

index b206d1d4d9b1948a4f50f7e6b61cbbd4c5fbff1a..85ac51f4df46568d5728cae6bf16e8dcbd64b4c9 100644 (file)
@@ -4,12 +4,16 @@ import edu.wpi.first.wpilibj.command.Command;
 
 /**
  * Runs index wheel continuously when corresponding button is pressed
- *
+ * 
+ * @param motorVal
+ *          motor value
  * @author shaina
  */
 public class RunIndexWheelContinuous extends Command {
-  public RunIndexWheelContinuous() {
+  private double motorVal;
 
+  public RunIndexWheelContinuous(double motorVal) {
+    this.motorVal = motorVal;
   }
 
   // Called just before this Command runs the first time