add TODOs for testing and delete auto generated comments
authorMeryem Esa <meresa14@gmail.com>
Wed, 16 Mar 2016 02:06:57 +0000 (19:06 -0700)
committerHarel Dor <hareldor@gmail.com>
Tue, 22 Mar 2016 23:10:27 +0000 (16:10 -0700)
src/org/usfirst/frc/team3501/robot/Constants.java
src/org/usfirst/frc/team3501/robot/commands/auton/ChooseStrategy.java
src/org/usfirst/frc/team3501/robot/commands/auton/PassChivalDeFrise.java
src/org/usfirst/frc/team3501/robot/commands/auton/PassDrawbridge.java
src/org/usfirst/frc/team3501/robot/commands/auton/PassPortcullis.java
src/org/usfirst/frc/team3501/robot/commands/auton/PassSallyPort.java

index fe96c4b94a44d6344a00f1766666338832527689..570b44cfff4b1c4e78951235e9a44ac25f3ff41c 100644 (file)
@@ -114,7 +114,7 @@ public class Constants {
     public static final double OUTPUT_SPEED = -0.7;
   }
 
-  public static class Auton {
+  public static class Auton { // TODO: test for all these values
     // Defense crossing speeds from -1 to 1
     public static final double DEFAULT_SPEED = 0.3;
     public static final double MOAT_SPEED = 0.6;
index 837d7193f43a9afb7e2e9a047e81886fb004b720..256c2a684bb922e344841c564a68fbdbe2581dbd 100644 (file)
@@ -8,6 +8,7 @@ public class ChooseStrategy extends CommandGroup {
 
   public ChooseStrategy(int position, Defense defense) {
 
+    // TODO: test for all the "pass defense" command groups
     if (defense == Defense.PORTCULLIS)
       addSequential(new PassPortcullis());
 
@@ -35,10 +36,5 @@ public class ChooseStrategy extends CommandGroup {
     else if (defense == Defense.LOW_BAR)
       addSequential(new PassLowBar());
 
-    // addSequential(new AlignToScore(position));
-    // // TODO: test for how long robot should wait
-    // addSequential(new WaitCommand(Auton.WAIT_TIME));
-    // addSequential(new Shoot());
-
   }
 }
index 0a77addab3e45469d56e469ec6fd5593c82202e7..5d77d53fc6346856fc14dd60934d35f6d9105598 100644 (file)
@@ -6,23 +6,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
  *
  */
 public class PassChivalDeFrise extends CommandGroup {
-    
-    public  PassChivalDeFrise() {
-        // 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.
-    }
+  public PassChivalDeFrise() {
+  }
 }
index a95be1685d9341faef8d794595ad7fe167869dfe..10fba7a52aff606c2d8258717ed8301e5ae217c1 100644 (file)
@@ -6,23 +6,8 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
  *
  */
 public class PassDrawbridge extends CommandGroup {
-    
-    public  PassDrawbridge() {
-        // 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 PassDrawbridge() {
 
-        // 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.
-    }
+  }
 }
index 5e6e393ec52be3674d1405ebedd635cec861eae7..6ab7edab31906346ea4050280c4e5b7c840ac415 100644 (file)
@@ -6,23 +6,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
  *
  */
 public class PassPortcullis extends CommandGroup {
-    
-    public  PassPortcullis() {
-        // 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.
-    }
+  public PassPortcullis() {
+  }
 }
index 2d956dcc781ef00b3db75d2c6cf188f3da80919d..a5fafa011a9dcbcfe9e96984c7c71f4dadbd12b6 100644 (file)
@@ -6,23 +6,8 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
  *
  */
 public class PassSallyPort extends CommandGroup {
-    
-    public  PassSallyPort() {
-        // 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 PassSallyPort() {
 
-        // 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.
-    }
+  }
 }