public PassRampart() {
- if (Constants.DeadReckoning.isDeadReckoning) {
- addSequential(new DriveForTime(Constants.DeadReckoning.passRockWallTime,
- Constants.DeadReckoning.passRockWallSpeed));
+ if (Constants.Auton.isUsingTime) {
+ addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+ Constants.Auton.passRockWallSpeed));
}
else {
addSequential(new DriveDistance(
- Constants.DeadReckoning.passRampartDistance,
+ Constants.Auton.passRampartDistance,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}