Create a new command group
authoryavda <advay.anand@gmail.com>
Wed, 11 Jan 2017 05:20:53 +0000 (21:20 -0800)
committeryavda <advay.anand@gmail.com>
Wed, 11 Jan 2017 05:20:53 +0000 (21:20 -0800)
src/org/usfirst/frc/team3501/robot/commandGroups/AutonThreeGearOnPegShoot.java [new file with mode: 0644]
src/org/usfirst/frc/team3501/robot/commandGroups/test.java [new file with mode: 0644]

diff --git a/src/org/usfirst/frc/team3501/robot/commandGroups/AutonThreeGearOnPegShoot.java b/src/org/usfirst/frc/team3501/robot/commandGroups/AutonThreeGearOnPegShoot.java
new file mode 100644 (file)
index 0000000..f48a8ba
--- /dev/null
@@ -0,0 +1,23 @@
+package org.usfirst.frc.team3501.robot.commandGroups;\r
+\r
+import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;\r
+import org.usfirst.frc.team3501.robot.commands.driving.TurnForAngle;\r
+import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;\r
+\r
+import edu.wpi.first.wpilibj.command.CommandGroup;\r
+\r
+public class AutonThreeGearOnPegShoot extends CommandGroup {\r
+\r
+  public static final int FEET_TO_DRIVE_FORWARD = 10;\r
+\r
+  private DriveTrain driveTrain;\r
+\r
+  public AutonThreeGearOnPegShoot() {\r
+    driveTrain = new DriveTrain();\r
+    addSequential(new DriveDistance());\r
+    addSequential(new TurnForAngle());\r
+    addSequential(new DriveDistance());\r
+\r
+  }\r
+\r
+}\r
diff --git a/src/org/usfirst/frc/team3501/robot/commandGroups/test.java b/src/org/usfirst/frc/team3501/robot/commandGroups/test.java
new file mode 100644 (file)
index 0000000..94bbfd6
--- /dev/null
@@ -0,0 +1,7 @@
+package org.usfirst.frc.team3501.robot.commandGroups;\r
+\r
+import edu.wpi.first.wpilibj.command.CommandGroup;\r
+\r
+public class test extends CommandGroup {\r
+\r
+}\r