From 1c006b82d5c953515c1229b944ab5af7d2556b40 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Sat, 13 Feb 2016 13:56:09 -0800 Subject: [PATCH] add comments that explain what this commandgroups do --- .../frc/team3501/robot/commands/MoveDefenseArm.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArm.java b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArm.java index 5466f58c..b3d05e99 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArm.java +++ b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArm.java @@ -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 { -- 2.30.2