undo previous commit
authorCindy Zhang <cindyzyx9@gmail.com>
Tue, 16 Feb 2016 18:50:57 +0000 (10:50 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Tue, 16 Feb 2016 19:37:03 +0000 (11:37 -0800)
16 files changed:
src/org/usfirst/frc/team3501/robot/commands/auton/DefaultAutonStrategy.java
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java [new file with mode: 0644]
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarDistance.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarTime.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassMoat.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatDistance.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatTime.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRampart.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartDistance.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartTime.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWall.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallDistance.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallTime.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrain.java [new file with mode: 0644]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainDistance.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainTime.java [deleted file]

index 318de7c115732194b00d631ff3ef971583a468af..5b6453ddaa9382a4e30e6d76c3f4f56830c1196a 100755 (executable)
@@ -22,10 +22,10 @@ public class DefaultAutonStrategy extends CommandGroup {
       addSequential(new PassSallyPort());
 
     else if (defense == Constants.Defense.ROUGH_TERRAIN)
-      addSequential(new PassRoughTerrainTime());
+      addSequential(new PassRoughTerrain());
 
     else if (defense == Constants.Defense.LOW_BAR)
-      addSequential(new PassLowBarTime());
+      addSequential(new PassLowBar());
 
     else if (defense == Constants.Defense.CHEVAL_DE_FRISE)
       addSequential(new PassChevalDeFrise());
@@ -34,13 +34,13 @@ public class DefaultAutonStrategy extends CommandGroup {
       addSequential(new PassDrawBridge());
 
     else if (defense == Constants.Defense.MOAT)
-      addSequential(new PassMoatDistance());
+      addSequential(new PassMoat());
 
     else if (defense == Constants.Defense.ROCK_WALL)
-      addSequential(new PassRockWallDistance());
+      addSequential(new PassRockWall());
 
     else if (defense == Constants.Defense.RAMPART)
-      addSequential(new PassRampartDistance());
+      addSequential(new PassRampart());
 
     addSequential(new AimAndAlign());
     addSequential(new Shoot());
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
new file mode 100644 (file)
index 0000000..cbdaeef
--- /dev/null
@@ -0,0 +1,37 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command will drive the robot through the low bar.
+ *
+ * dependency on sensors: encoders
+ * dependency on subsystems: drivetrain
+ * dependency on other commands: DriveForDist
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the low bar
+ *
+ * post-condition: the robot has passed the low bar and is in the next zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+
+public class PassLowBar extends CommandGroup {
+
+  private final double DISTANCE = 4.0;
+  private final double DEFAULT_SPEED = 0.5;
+
+  public PassLowBar() {
+    // TODO: need to add sequential for retracting the arms and shooting hood
+    // once those commands are made
+    addSequential(new DriveDistance(DISTANCE, DEFAULT_SPEED));
+  }
+
+  public PassLowBar(double speed) {
+    addSequential(new DriveDistance(DISTANCE, speed));
+  }
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarDistance.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarDistance.java
deleted file mode 100644 (file)
index ee69e2a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the low bar.
- *
- * dependency on sensors: encoders
- * dependency on subsystems: drivetrain
- * dependency on other commands: DriveForDist
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the low bar
- *
- * post-condition: the robot has passed the low bar and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassLowBarDistance extends CommandGroup {
-
-  private final double DISTANCE = 4.0;
-  private final double DEFAULT_SPEED = 0.5;
-
-  public PassLowBarDistance() {
-    // TODO: need to add sequential for retracting the arms and shooting hood
-    // once those commands are made
-    addSequential(new DriveDistance(DISTANCE, DEFAULT_SPEED));
-  }
-
-  public PassLowBarDistance(double speed) {
-    addSequential(new DriveDistance(DISTANCE, speed));
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarTime.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBarTime.java
deleted file mode 100755 (executable)
index fde2ee4..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the low bar.
- *
- * dependency on sensors: encoders
- * dependency on subsystems: drivetrain
- * dependency on other commands: DriveForDist
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the low bar
- *
- * post-condition: the robot has passed the low bar and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassLowBarTime extends CommandGroup {
-
-  private final double DISTANCE = 4.0;
-  private final double DEFAULT_SPEED = 0.5;
-
-  public PassLowBarTime() {
-    // TODO: need to add sequential for retracting the arms and shooting hood
-    // once those commands are made
-    addSequential(new DriveDistance(DISTANCE, DEFAULT_SPEED));
-  }
-
-  public PassLowBarTime(double speed) {
-    addSequential(new DriveDistance(DISTANCE, speed));
-  }
-}
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 100755 (executable)
index 0000000..1f465d9
--- /dev/null
@@ -0,0 +1,41 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command will drive the robot through the moat.
+ *
+ * The code drives the robot for a specific time at a specific speed up the ramp
+ * to the defense then drive over the defense at a different speed and time.
+ *
+ * dependency on subsystem: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the moat
+ *
+ * post-condition: the robot has passed the moat and is in the next zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+
+public class PassMoat extends CommandGroup {
+
+  private final double BEG_TIME = 0;
+  private final double MID_TIME = 0;
+  private final double END_TIME = 0;
+  private final double BEG_SPEED = 0;
+  private final double MID_SPEED = 0;
+  private final double END_SPEED = 0;
+
+  public PassMoat() {
+    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
+    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
+    addSequential(new DriveForTime(END_TIME, END_SPEED));
+
+  }
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatDistance.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatDistance.java
deleted file mode 100755 (executable)
index 735e971..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the moat.
- *
- * The code drives the robot for a specific time at a specific speed up the ramp
- * to the defense then drive over the defense at a different speed and time.
- *
- * dependency on subsystem: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the moat
- *
- * post-condition: the robot has passed the moat and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassMoatDistance extends CommandGroup {
-
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassMoatDistance() {
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatTime.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassMoatTime.java
deleted file mode 100644 (file)
index d46f015..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the moat.
- *
- * The code drives the robot for a specific time at a specific speed up the ramp
- * to the defense then drive over the defense at a different speed and time.
- *
- * dependency on subsystem: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the moat
- *
- * post-condition: the robot has passed the moat and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassMoatTime extends CommandGroup {
-
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassMoatTime() {
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampart.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampart.java
new file mode 100755 (executable)
index 0000000..426063d
--- /dev/null
@@ -0,0 +1,40 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command will drive the robot through the rampart.
+ *
+ * dependency on subsystems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the rampart
+ *
+ * post-condition: the robot has passed the rampart and is in the next zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+
+public class PassRampart extends CommandGroup {
+
+  public PassRampart() {
+
+    final double BEG_TIME = 0;
+    final double BEG_SPEED = 0;
+    final double MID_TIME = 0;
+    final double MID_SPEED = 0;
+    final double END_TIME = 0;
+    final double END_SPEED = 0;
+
+    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
+    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
+    addSequential(new DriveForTime(END_TIME, END_SPEED));
+
+  }
+
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartDistance.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartDistance.java
deleted file mode 100755 (executable)
index 4ff3a85..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rampart.
- *
- * dependency on subsystems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rampart
- *
- * post-condition: the robot has passed the rampart and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassRampartDistance extends CommandGroup {
-
-  public PassRampartDistance() {
-
-    final double BEG_TIME = 0;
-    final double BEG_SPEED = 0;
-    final double MID_TIME = 0;
-    final double MID_SPEED = 0;
-    final double END_TIME = 0;
-    final double END_SPEED = 0;
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartTime.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRampartTime.java
deleted file mode 100644 (file)
index 582292e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rampart.
- *
- * dependency on subsystems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rampart
- *
- * post-condition: the robot has passed the rampart and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassRampartTime extends CommandGroup {
-
-  public PassRampartTime() {
-
-    final double BEG_TIME = 0;
-    final double BEG_SPEED = 0;
-    final double MID_TIME = 0;
-    final double MID_SPEED = 0;
-    final double END_TIME = 0;
-    final double END_SPEED = 0;
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWall.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWall.java
new file mode 100755 (executable)
index 0000000..2839df3
--- /dev/null
@@ -0,0 +1,32 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command will drive the robot through the rock wall.
+ *
+ * dependency on subsystems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the rock wall
+ *
+ * post-condition: the robot has passed the rock wall and is in the next zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+
+public class PassRockWall extends CommandGroup {
+
+  private final double time = 0, speed =0;
+
+  public PassRockWall() {
+
+    addSequential(new DriveForTime(time, speed));
+
+  }
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallDistance.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallDistance.java
deleted file mode 100755 (executable)
index 08ca2c3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rock wall.
- *
- * dependency on subsystems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rock wall
- *
- * post-condition: the robot has passed the rock wall and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassRockWallDistance extends CommandGroup {
-
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassRockWallDistance() {
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallTime.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRockWallTime.java
deleted file mode 100644 (file)
index 05cfcc6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rock wall.
- *
- * dependency on subsystems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rock wall
- *
- * post-condition: the robot has passed the rock wall and is in the next zone
- *
- * @author Meryem and Avi
- *
- */
-
-public class PassRockWallTime extends CommandGroup {
-
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassRockWallTime() {
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, END_SPEED));
-
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrain.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrain.java
new file mode 100644 (file)
index 0000000..8851edf
--- /dev/null
@@ -0,0 +1,41 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command will drive the robot through the rough terrain.
+ *
+ * dependency on subsytems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the rough terrain
+ *
+ * post-condition: the robot has passed the rough terrain and is in the next
+ * zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+public class PassRoughTerrain extends CommandGroup {
+
+  // TODO: test for the time
+  private final double BEG_TIME = 0;
+  private final double MID_TIME = 0;
+  private final double END_TIME = 0;
+
+  private final double BEG_SPEED = 0;
+  private final double MID_SPEED = 0;
+  private final double END_SPEED = 0;
+
+  public PassRoughTerrain() {
+
+    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
+    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
+    addSequential(new DriveForTime(END_TIME, BEG_SPEED));
+
+  }
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainDistance.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainDistance.java
deleted file mode 100644 (file)
index 9728994..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rough terrain.
- *
- * dependency on subsytems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rough terrain
- *
- * post-condition: the robot has passed the rough terrain and is in the next
- * zone
- *
- * @author Meryem and Avi
- *
- */
-public class PassRoughTerrainDistance extends CommandGroup {
-
-  // TODO: test for the time
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassRoughTerrainDistance() {
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, BEG_SPEED));
-
-  }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainTime.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassRoughTerrainTime.java
deleted file mode 100755 (executable)
index 6bc6b22..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands.auton;
-
-import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
-
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
-/***
- * This command will drive the robot through the rough terrain.
- *
- * dependency on subsytems: drivetrain
- *
- * dependency on other commands: DriveForTime
- *
- * pre-condition: robot is flush against the ramp of the outerworks in front of
- * the rough terrain
- *
- * post-condition: the robot has passed the rough terrain and is in the next
- * zone
- *
- * @author Meryem and Avi
- *
- */
-public class PassRoughTerrainTime extends CommandGroup {
-
-  // TODO: test for the time
-  private final double BEG_TIME = 0;
-  private final double MID_TIME = 0;
-  private final double END_TIME = 0;
-
-  private final double BEG_SPEED = 0;
-  private final double MID_SPEED = 0;
-  private final double END_SPEED = 0;
-
-  public PassRoughTerrainTime() {
-
-    addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
-    addSequential(new DriveForTime(MID_TIME, MID_SPEED));
-    addSequential(new DriveForTime(END_TIME, BEG_SPEED));
-
-  }
-}