From f9d9e4fe34643f8010b5ebc92c3a4ce7e889d8ff Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 24 Apr 2024 17:39:41 -0400 Subject: [PATCH] --- src/main/java/frc/robot/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }