src/main/java/frc/robot/Autonomous.java
public static void testAuto(double speed, double intake) {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.intake.set(intake)),
				new WaitUntilCommand(() -> commands.driveFeet(4, speed, true)),
				new WaitCommand(1),
				new InstantCommand(() -> Robot.intake.set(1)),
				new WaitCommand(1),
				new WaitUntilCommand(() -> commands.driveFeet(4, -speed, true)),
				new InstantCommand(() -> Robot.intake.stop())).schedule();
	}
// Auto for testing the intake, never used in actual code
Auto for testing the intake, never used in actual code
Auto for testing the intake never used in actual code
public static void testAuto(double speed, double intake) {
		new SequentialCommandGroup(
				new InstantCommand(() -> Robot.intake.set(intake)),
				new WaitUntilCommand(() -> commands.driveFeet(4, speed, true)),
				new WaitCommand(1),
				new InstantCommand(() -> Robot.intake.set(1)),
				new WaitCommand(1),
				new WaitUntilCommand(() -> commands.driveFeet(4, -speed, true)),
				new InstantCommand(() -> Robot.intake.stop())).schedule();
	}
public static void testAuto ( double speed , double intake ) { new SequentialCommandGroup ( new InstantCommand ( ( ) -> Robot . intake . set ( intake ) ) , new WaitUntilCommand ( ( ) -> commands . driveFeet ( 4 , speed , true ) ) , new WaitCommand ( 1 ) , new InstantCommand ( ( ) -> Robot . intake . set ( 1 ) ) , new WaitCommand ( 1 ) , new WaitUntilCommand ( ( ) -> commands . driveFeet ( 4 , - speed , true ) ) , new InstantCommand ( ( ) -> Robot . intake . stop ( ) ) ) . schedule ( ) ; }
Auto for testing the intake, never used in actual code
Auto for testing the intake never used in actual code