From 11b831a5db46005bbe9fa55093aace9d460f4697 Mon Sep 17 00:00:00 2001 From: Shaina Chen Date: Thu, 11 Feb 2016 19:34:06 -0800 Subject: [PATCH] add javadoc style for class and change isFinished to return true --- .../robot/commands/LowerDefenseArmContinuous.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/LowerDefenseArmContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/LowerDefenseArmContinuous.java index 95a1adf6..b5fe5649 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/LowerDefenseArmContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/LowerDefenseArmContinuous.java @@ -4,6 +4,13 @@ import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.command.Command; +/*** + * This command is intended to be run from OI using button.whileHeld(...). + * It lowers the defenseArm continually while the button is being held down. + * + * @author shaina + * + */ public class LowerDefenseArmContinuous extends Command { private double speed; @@ -24,7 +31,7 @@ public class LowerDefenseArmContinuous extends Command { @Override protected boolean isFinished() { - return false; + return true; } @Override -- 2.30.2