mode oppose fait

This commit is contained in:
Samuel
2026-02-24 18:55:48 -05:00
parent 813a0976ad
commit b9cac9ee36
5 changed files with 10 additions and 27 deletions

View File

@@ -12,6 +12,7 @@ import frc.robot.commands.Aspirer;
import frc.robot.commands.DescendreBalyeuse;
import frc.robot.commands.DescendreGrimpeur;
import frc.robot.commands.Lancer;
import frc.robot.commands.ModeOposer;
import frc.robot.commands.MonterBalyeuse;
import frc.robot.commands.MonterGrimpeur;
import frc.robot.subsystems.Balayeuse;
@@ -34,6 +35,7 @@ public class RobotContainer {
private void configureBindings() {
manette.a().whileTrue(new Lancer(lanceur,limeLight3,balayeuse,led));
manette.y().whileTrue(new ModeOposer(lanceur, balayeuse));
manette.rightTrigger().whileTrue(new MonterGrimpeur(grimpeur));
manette.leftTrigger().whileTrue(new DescendreGrimpeur(grimpeur));
manette.rightBumper().whileTrue(new MonterBalyeuse(balayeuse));