change location of Defense enum from Robot.java to Constants.java
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / DefaultAutonStrategy.java
index fbf2d22c64f43f7f52119a951899b69fb2ce7c47..5eaab4571871a620b165d3d894723a2079a4fe3c 100755 (executable)
@@ -3,26 +3,26 @@ package org.usfirst.frc.team3501.robot.commands;
 import edu.wpi.first.wpilibj.command.CommandGroup;
 
 /**
- *
+ * The default autonomous strategy involves passing the defense that is in front
+ * of it, aiming the robot/ shooter towards the goal, and shooting.
  */
 public class DefaultAutonStrategy extends CommandGroup {
-    
-    public  DefaultAutonStrategy() {
-        // 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.
+  public DefaultAutonStrategy(int position, int defense) {
+    /*
+     * pass defense drive forward do what has to be done to pass the defense
+     * drive forward aim face tower aim shooter toward goal shoot
+     */
 
-        // 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.
+    // based on defense pass the defense
+    switch (defense) {
+    case 1:
+    case 2:
+    case 3:
+    case 4:
+    case 5:
     }
+
+  }
+
 }