add comments that explain what these commandgroups do
authorCindy Zhang <cindyzyx9@gmail.com>
Sat, 13 Feb 2016 21:51:07 +0000 (13:51 -0800)
committerCindy Zhang <cindyzyx9@gmail.com>
Sat, 13 Feb 2016 21:51:07 +0000 (13:51 -0800)
src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java
src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java

index f07cfc06e26cdaeb27e9a650aa2fa9e04d28591c..d2f2c43c1b2fb1ac3b94516b44a521debf29dd0f 100644 (file)
@@ -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 {
 
index 96aa215c05a3a459e2d262cd189a2ef371032063..61edfcfbdfd9c0d9fb2401b625272034c9d56873 100644 (file)
@@ -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 {