This commit is contained in:
Antoine PerreaultE 2022-11-23 19:36:02 -05:00
parent 5b1ddd9236
commit b662ccd759

View File

@ -83,12 +83,12 @@ public class RobotContainer {
rightbumper.whileHeld(Activershaker); rightbumper.whileHeld(Activershaker);
JoystickButton buttonY = new JoystickButton(manette, XboxController.Button.kY.value); JoystickButton buttonY = new JoystickButton(manette, XboxController.Button.kY.value);
buttonY.whenPressed(DesactiverBlockeur); buttonY.whenPressed(DesactiverBlockeur);
} }
/** /**
* Use this to pass the autonomous command to the main {@link Robot} class. * Use this to pass the autonomous command to the main {@link Robot} class.
*
* @return the command to run in autonomous * @return the command to run in autonomous
*/ */
public Command getAutonomousCommand() { public Command getAutonomousCommand() {