From b6e975605844ad7bc608fd879840c89a5c1a3bdb Mon Sep 17 00:00:00 2001 From: shainachen Date: Sat, 14 Jan 2017 13:23:29 -0800 Subject: [PATCH] Edit JavaDoc comment, instantiate motorVal --- .../robot/commands/shooter/RunFlyWheelContinuous.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java index d8bad5f..c1a3165 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java @@ -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 -- 2.30.2