public class PassRockWall extends CommandGroup {
public PassRockWall() {
- if (Constants.DeadReckoning.isDeadReckoning) {
- addSequential(new DriveForTime(Constants.DeadReckoning.passRockWallTime,
- Constants.DeadReckoning.passRockWallSpeed));
+ if (Constants.Auton.IS_USING_TIME) {
+ addSequential(new DriveForTime(Constants.Auton.PASS_ROCK_WALL_TIME,
+ Constants.Auton.PASS_ROCK_WALL_SPEED));
}
else {
addSequential(new DriveDistance(
- Constants.DeadReckoning.passRockWallDistance,
+ Constants.Auton.PASS_ROCK_WALL_DIST,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}