Add rudimentary auton strategies based on timing
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassMoat.java
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoat.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoat.java
new file mode 100644 (file)
index 0000000..8a43fbd
--- /dev/null
@@ -0,0 +1,16 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.Constants.Auton;
+import org.usfirst.frc.team3501.robot.commands.driving.TimeDrive;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/**
+ *
+ */
+public class PassMoat extends CommandGroup {
+
+  public PassMoat() {
+    addSequential(new TimeDrive(Auton.MOAT_SPEED, Auton.MOAT_TIME));
+  }
+}