public class PassRockWall extends CommandGroup {
public PassRockWall() {
- if (Constants.Auton.isUsingTime) {
- addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
- Constants.Auton.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.Auton.passRockWallDistance,
+ Constants.Auton.PASS_ROCK_WALL_DIST,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}