public class PassLowBar extends CommandGroup {
public PassLowBar() {
- if (Constants.DeadReckoning.isUsingTimeToPassDefense) {
- addSequential(new DriveForTime(Constants.DeadReckoning.passLowBarTime,
- Constants.DeadReckoning.passLowBarSpeed));
+ if (Constants.Auton.isUsingTimeToPassDefense) {
+ addSequential(new DriveForTime(Constants.Auton.passLowBarTime,
+ Constants.Auton.passLowBarSpeed));
}
else {
addSequential(new DriveDistance(
- Constants.DeadReckoning.passLowBarDistance,
+ Constants.Auton.passLowBarDistance,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}
}