This commit is contained in:
samuel desharnais 2024-02-13 18:25:30 -05:00
parent 7a37782ca1
commit 82cae9c66d

View File

@ -84,7 +84,7 @@ public class RobotContainer {
CameraServer.startAutomaticCapture();
manette.a().whileTrue(new GuiderBas(guideur));
manette.b().whileTrue(new GuiderHaut(guideur));
joystick.button(3).toggleOnTrue(new Balayer(balayeuse, accumulateur));
joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur));
joystick.button(1).whileTrue(new LancerNote(lanceur, accumulateur));
joystick.button(4).whileTrue(new ParallelCommandGroup(new Lancer(lanceur,limelight),new Limelight_tracker(limelight,drive)));
joystick.button(2).whileTrue(new ParallelCommandGroup(new Lancerampli(lanceur,limelight),new Limelight_tracker(limelight,drive),new GuiderHaut(guideur)));