+ if (Constants.Auton.isUsingTime) {
+ addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+ Constants.Auton.passRockWallSpeed));
+ }
+ else {
+ addSequential(new DriveDistance(
+ Constants.Auton.passRockWallDistance,
+ Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
+ }