This commit is contained in:
Olivier Dubois 2024-02-17 14:20:54 -05:00
parent f6153cbb15
commit 95b0819e56

View File

@ -33,7 +33,7 @@ import frc.robot.command.Lancerampli;
import frc.robot.command.Limelight_tracker; import frc.robot.command.Limelight_tracker;
import frc.robot.command.PistonFerme; import frc.robot.command.PistonFerme;
import frc.robot.command.Pistongrimpeur; import frc.robot.command.Pistongrimpeur;
import frc.robot.command.PistonOuvre;
// Subsystems // Subsystems
import frc.robot.subsystem.Accumulateur; import frc.robot.subsystem.Accumulateur;
import frc.robot.subsystem.Balayeuse; import frc.robot.subsystem.Balayeuse;
@ -81,7 +81,7 @@ public class RobotContainer {
manette.a().whileTrue(new GuiderBas(guideur)); manette.a().whileTrue(new GuiderBas(guideur));
manette.b().whileTrue(new GuiderHaut(guideur)); manette.b().whileTrue(new GuiderHaut(guideur));
manette.x().whileTrue(new PistonFerme(grimpeur)); manette.x().whileTrue(new PistonFerme(grimpeur));
manette.y().whileTrue(new PistonOuvre(grimpeur));
joystick.button(3).whileTrue(balayer); joystick.button(3).whileTrue(balayer);
joystick.button(1).whileTrue(new LancerNote(lanceur, accumulateur)); joystick.button(1).whileTrue(new LancerNote(lanceur, accumulateur));
joystick.button(5).whileTrue(new LancerAmp(lanceur, accumulateur)); joystick.button(5).whileTrue(new LancerAmp(lanceur, accumulateur));