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