- if (Robot.shooter.usePhotogate()) {
- if (Robot.shooter.isBallInside()) {
- addSequential(new FireCatapult());
- addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
- addSequential(new ResetCatapult());
- }
- } else {
- addSequential(new FireCatapult());
- addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
- addSequential(new ResetCatapult());
- }
+ addSequential(new FireCatapult());
+ addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
+ addSequential(new ResetCatapult());