src/main/java/frc/robot/ShootCommands.java
public void load() {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.loader.set(1)),
				new WaitCommand(1.4),
				new InstantCommand(() -> Robot.loader.stopMotor())).schedule();
	}
// Load a single ball to a point directly before the shooter
Load a single ball to a point directly before the shooter
Load a single ball to a point directly before the shooter
public void load() {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.loader.set(1)),
				new WaitCommand(1.4),
				new InstantCommand(() -> Robot.loader.stopMotor())).schedule();
	}
public void load ( ) { new SequentialCommandGroup ( new InstantCommand ( ( ) -> Robot . loader . set ( 1 ) ) , new WaitCommand ( 1.4 ) , new InstantCommand ( ( ) -> Robot . loader . stopMotor ( ) ) ) . schedule ( ) ; }
Load a single ball to a point directly before the shooter
Load a single ball to a point directly before the shooter