public PassRoughTerrain() {
- if (Constants.Auton.isUsingTimeToPassDefense) {
- addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+ if (Constants.Auton.IS_USING_TIME) {
+ addSequential(new DriveForTime(Constants.Auton.PASS_ROCK_WALL_TIME,
Constants.Auton.passRockWallSpeed));
}
else {
addSequential(new DriveDistance(
- Constants.Auton.passRoughTerrainDistance,
+ Constants.Auton.PASS_ROUGH_TERRAIN_DIST,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}