src/main/java/frc/robot/ShootCommands.java
public void shootFull() {
		new SequentialCommandGroup(
				new InstantCommand(() -> setRPM(kFenderSpeed)),
				new InstantCommand(() -> Robot.loader.set(1)),
				new WaitCommand(4),
				new InstantCommand(() -> Robot.shooter.stop()),
				new InstantCommand(() -> Robot.loader.stopMotor())).schedule();
	}
// Shoot and load a single ball
Shoot and load a single ball
Shoot and load a single ball
public void shootFull() {
		new SequentialCommandGroup(
				new InstantCommand(() -> setRPM(kFenderSpeed)),
				new InstantCommand(() -> Robot.loader.set(1)),
				new WaitCommand(4),
				new InstantCommand(() -> Robot.shooter.stop()),
				new InstantCommand(() -> Robot.loader.stopMotor())).schedule();
	}
public void shootFull ( ) { new SequentialCommandGroup ( new InstantCommand ( ( ) -> setRPM ( kFenderSpeed ) ) , new InstantCommand ( ( ) -> Robot . loader . set ( 1 ) ) , new WaitCommand ( 4 ) , new InstantCommand ( ( ) -> Robot . shooter . stop ( ) ) , new InstantCommand ( ( ) -> Robot . loader . stopMotor ( ) ) ) . schedule ( ) ; }
Shoot and load a single ball
Shoot and load a single ball