From: shainachen Date: Sat, 14 Jan 2017 21:23:29 +0000 (-0800) Subject: Edit JavaDoc comment, instantiate motorVal X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=b6e975605844ad7bc608fd879840c89a5c1a3bdb Edit JavaDoc comment, instantiate motorVal --- 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