clean up DriveForTime
[3501/2015-FRC-Spark] / src / org / usfirst / frc3501 / RiceCatRobot / commands / DriveForTimesSequence.java
index 8b1321df4cbf8cf8cabd2fb02631d074bda27f9a..cfd1c12c4ee185be99575d52643331bc2884a1d7 100644 (file)
@@ -21,17 +21,13 @@ public class DriveForTimesSequence extends CommandGroup {
    *          to drive at. Column 0 represents the time in seconds to drive for
    *          and column 1 represents the speed to drive at. E.g. { {1, 0.5},
    *          {2, 0.75} } will drive at 0.5 for 1 second and 0.75 for 2 seconds
-   *
-   * @param direction
-   *          this is Direction.Forward or Direction.Backward all speeds in the
-   *          timings array will apply in this direction.
    */
-  public DriveForTimesSequence(double[][] timings, Direction direction) {
+  public DriveForTimesSequence(double[][] timings) {
     for (int i = 0; i < timings.length; i++) {
       double time = timings[i][0];
       double speed = timings[i][1];
 
-      addSequential(new DriveForTime(time, speed, direction));
+      addSequential(new DriveForTime(time, speed));
     }
   }
 }
\ No newline at end of file