From: Cindy Zhang Date: Sat, 13 Feb 2016 21:56:09 +0000 (-0800) Subject: add comments that explain what this commandgroups do X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;ds=sidebyside;h=1c006b82d5c953515c1229b944ab5af7d2556b40;p=3501%2Fstronghold-2016 add comments that explain what this commandgroups do --- 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 {