From: shainachen Date: Sat, 14 Jan 2017 21:24:20 +0000 (-0800) Subject: Edit JavaDoc comment, instantiate motorVal X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=a2a99ce14071f4b44f1e322a555c0acadf7d6cc1 Edit JavaDoc comment, instantiate motorVal --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java index b206d1d..85ac51f 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java @@ -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