finished strat for auton left peg in any alliance
authorjessicabhalerao <jessicabhalerao@gmail.com>
Wed, 18 Jan 2017 04:43:27 +0000 (20:43 -0800)
committerjessicabhalerao <jessicabhalerao@gmail.com>
Sat, 21 Jan 2017 03:01:48 +0000 (19:01 -0800)
src/org/usfirst/frc/team3501/robot/commandgroups/AutonGearThenBaselinePegCloseToRetrievalZone.java [new file with mode: 0644]

diff --git a/src/org/usfirst/frc/team3501/robot/commandgroups/AutonGearThenBaselinePegCloseToRetrievalZone.java b/src/org/usfirst/frc/team3501/robot/commandgroups/AutonGearThenBaselinePegCloseToRetrievalZone.java
new file mode 100644 (file)
index 0000000..4367446
--- /dev/null
@@ -0,0 +1,28 @@
+package org.usfirst.frc.team3501.robot.commandgroups;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/**
+ *
+ */
+public class AutonGearThenBaselinePegCloseToRetrievalZone extends CommandGroup {
+
+    public AutonGearThenBaselinePegCloseToRetrievalZone() {
+        // Add Commands here:
+        // e.g. addSequential(new Command1());
+        //      addSequential(new Command2());
+        // these will run in order.
+
+        // To run multiple commands at the same time,
+        // use addParallel()
+        // e.g. addParallel(new Command1());
+        //      addSequential(new Command2());
+        // Command1 and Command2 will run in parallel.
+
+        // A command group will require all of the subsystems that each member
+        // would require.
+        // e.g. if Command1 requires chassis, and Command2 requires arm,
+        // a CommandGroup containing them would require both the chassis and the
+        // arm.
+    }
+}