From 4031211d0e345b530f3ee6bde9894bf0cde8eeec Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 5 Feb 2024 19:14:59 -0500 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 c75bdd6..523aa6f 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -53,8 +53,8 @@ public class RobotContainer { Lancerampli lancerampli = new Lancerampli(lanceur); CommandJoystick joystick = new CommandJoystick(0); CommandXboxController manette = new CommandXboxController(1); - GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur,null); - GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, null); + GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX); + GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY); public RobotContainer() { NamedCommands.registerCommand("balayer",new Balayer(balayeuse, accumulateur)); NamedCommands.registerCommand("lancer", new LancerNote(lanceur, accumulateur));