lanceur base vitesse fait

This commit is contained in:
Samuel
2026-02-24 18:57:18 -05:00
parent b9cac9ee36
commit 8c6a6db6a4
2 changed files with 93 additions and 0 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.LancerBaseVitesse;
import frc.robot.commands.ModeOposer;
import frc.robot.commands.MonterBalyeuse;
import frc.robot.commands.MonterGrimpeur;
@@ -36,6 +37,7 @@ public class RobotContainer {
private void configureBindings() {
manette.a().whileTrue(new Lancer(lanceur,limeLight3,balayeuse,led));
manette.y().whileTrue(new ModeOposer(lanceur, balayeuse));
manette.x().whileTrue(new LancerBaseVitesse(lanceur, limeLight3, balayeuse, led));
manette.rightTrigger().whileTrue(new MonterGrimpeur(grimpeur));
manette.leftTrigger().whileTrue(new DescendreGrimpeur(grimpeur));
manette.rightBumper().whileTrue(new MonterBalyeuse(balayeuse));