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

index 5466f58cfe85e9a909d062acc8ad9fcf2254a25f..b3d05e99d823bad4db2f62df8923dd073ba6add0 100644 (file)
@@ -5,7 +5,12 @@ import org.usfirst.frc.team3501.robot.Constants;
 import edu.wpi.first.wpilibj.command.CommandGroup;
 
 /**
- *
+ * Given input target x and y positions of the tip of the defense arm apparatus:
+ * first, calculates what the angle of the arm and hand corresponding to the
+ * given x-y coordinate is
+ * next, with speed of arm set to a constant, determine what the speed of hand
+ * should be if proportional to speed of arm (with the ratio equal to the ratio
+ * between arm angle to be adjusted and hand angle to be adjusted
  */
 public class MoveDefenseArm extends CommandGroup {