projects
/
3501
/
stronghold-2016
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a204746
)
add comments that explain what these commandgroups do
author
Cindy Zhang
<cindyzyx9@gmail.com>
Sat, 13 Feb 2016 21:51:07 +0000
(13:51 -0800)
committer
Cindy Zhang
<cindyzyx9@gmail.com>
Sat, 13 Feb 2016 21:51:07 +0000
(13:51 -0800)
src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java
patch
|
blob
|
blame
|
history
src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmVertical.java
patch
|
blob
|
blame
|
history
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java
b/src/org/usfirst/frc/team3501/robot/commands/MoveDefenseArmHorizontal.java
index f07cfc06e26cdaeb27e9a650aa2fa9e04d28591c..d2f2c43c1b2fb1ac3b94516b44a521debf29dd0f 100644
(file)
--- 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;
/**
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 {
*/
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 96aa215c05a3a459e2d262cd189a2ef371032063..61edfcfbdfd9c0d9fb2401b625272034c9d56873 100644
(file)
--- 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;
/**
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 {
*/
public class MoveDefenseArmVertical extends CommandGroup {