* 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