Edit JavaDoc comment, instantiate motorVal
authorshainachen <shaina.sierra@gmail.com>
Sat, 14 Jan 2017 21:23:29 +0000 (13:23 -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/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