Edit JavaDoc comment, instantiate motorVal
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
index d8bad5fa8bb4ed7cd7d8029177f7537f2fa13b8b..c1a316502873df4e42f8ce2c19f69b8595df1084 100644 (file)
@@ -4,10 +4,16 @@ import edu.wpi.first.wpilibj.command.Command;
 
 /**
  * Runs fly wheel continuously when corresponding button pressed
+ *
+ * @param motorVal
+ *          motor value
+ * @author shaina
  */
 public class RunFlyWheelContinuous extends Command {
-  public RunFlyWheelContinuous() {
+  private double motorVal;
 
+  public RunFlyWheelContinuous(double motorVal) {
+    this.motorVal = motorVal;
   }
 
   // Called just before this Command runs the first time