From: Cindy Zhang Date: Sat, 13 Feb 2016 21:51:07 +0000 (-0800) Subject: add comments that explain what these commandgroups do X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;ds=sidebyside;h=7c1ea3c0e88b54b6f6ea2b0de199d04ce98af0f9;p=3501%2Fstronghold-2016 add comments that explain what these commandgroups do --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java index f07cfc06..d2f2c43c 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java +++ b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java @@ -5,7 +5,11 @@ import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.command.CommandGroup; /** - * + * Given input horizontalDisplacement, which represents how far (and in what + * direction, depending on the sign) the user wants the arm to be moved linearly + * & horizontally, this commandGroup calls the MoveDefenseArm command, which + * will then move the tip of the arm to the target position based on input + * horizontalDisplacement */ public class MoveDefenseArmHorizontal extends CommandGroup { diff --git a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java index 96aa215c..61edfcfb 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java +++ b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java @@ -5,7 +5,11 @@ import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.command.CommandGroup; /** - * + * Given input verticalDisplacement, which represents how far (and in what + * direction, depending on the sign) the user wants the arm to be moved linearly + * & vertically, this commandGroup calls the MoveDefenseArm command, which + * will then move the tip of the arm to the target position based on input + * verticalDisplacement */ public class MoveDefenseArmVertical extends CommandGroup {