diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 1d96ab5..0720314 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -90,7 +90,7 @@ public class RobotContainer { manette.start().whileTrue(new RestGyro(drive)); manette.a().whileTrue(new GuiderBas(guideur)); manette.b().whileTrue(new GuiderHaut(guideur)); - + manette.x().whileTrue(avancerAuto); //joystick joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur)); manette1.rightBumper().whileTrue(new LancerNote(lanceur, accumulateur)); @@ -116,6 +116,6 @@ public class RobotContainer { private void configureBindings() {} public Command getAutonomousCommand(){ - return new SequentialCommandGroup(lancer.withTimeout(2),avancerAuto.withTimeout(3)); + return new SequentialCommandGroup(lancer.withTimeout(2)); } }