src/main/java/frc/robot/ShootCommands.java
public void unload() {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.loader.set(-1)),
				new InstantCommand(() -> Robot.shooter.set(-0.2)),
				new WaitCommand(2),
				new InstantCommand(() -> Robot.loader.stopMotor()),
				new InstantCommand(() -> Robot.shooter.stop())).schedule();
	}
// Unload a single ball from the loader & shooter
Unload a single ball from the loader & shooter
Unload a single ball from the loader & shooter
public void unload() {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.loader.set(-1)),
				new InstantCommand(() -> Robot.shooter.set(-0.2)),
				new WaitCommand(2),
				new InstantCommand(() -> Robot.loader.stopMotor()),
				new InstantCommand(() -> Robot.shooter.stop())).schedule();
	}
public void unload ( ) { new SequentialCommandGroup ( new InstantCommand ( ( ) -> Robot . loader . set ( - 1 ) ) , new InstantCommand ( ( ) -> Robot . shooter . set ( - 0.2 ) ) , new WaitCommand ( 2 ) , new InstantCommand ( ( ) -> Robot . loader . stopMotor ( ) ) , new InstantCommand ( ( ) -> Robot . shooter . stop ( ) ) ) . schedule ( ) ; }
Unload a single ball from the loader & shooter
Unload a single ball from the loader & shooter