From a2a99ce14071f4b44f1e322a555c0acadf7d6cc1 Mon Sep 17 00:00:00 2001 From: shainachen Date: Sat, 14 Jan 2017 13:24:20 -0800 Subject: [PATCH] Edit JavaDoc comment, instantiate motorVal --- .../robot/commands/shooter/RunIndexWheelContinuous.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.30.2