From 7c1ea3c0e88b54b6f6ea2b0de199d04ce98af0f9 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Sat, 13 Feb 2016 13:51:07 -0800 Subject: [PATCH] add comments that explain what these commandgroups do --- .../team3501/robot/commands/MoveDefenseArmHorizontal.java | 6 +++++- .../frc/team3501/robot/commands/MoveDefenseArmVertical.java | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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 { -- 2.30.2