From 9f93a2159b7d4f0db45dfbb95c3f64021f7b1d54 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Wed, 7 Feb 2024 19:50:57 -0500 Subject: [PATCH] --- src/main/java/frc/robot/RobotContainer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index f1ad8ec..a490def 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -37,6 +37,7 @@ import frc.robot.subsystem.Grimpeur; import frc.robot.subsystem.Guideur; import frc.robot.subsystem.LED; import frc.robot.subsystem.Lanceur; +import frc.robot.subsystem.Limelight; import frc.robot.subsystem.Pixy; @@ -51,9 +52,10 @@ public class RobotContainer { Balayer balayer = new Balayer(balayeuse, accumulateur); GuiderHaut guiderHaut = new GuiderHaut(guideur); GuiderBas guiderBas = new GuiderBas(guideur); - Lancer lancer = new Lancer(lanceur); + Limelight limelight = new Limelight(); + Lancer lancer = new Lancer(lanceur,limelight); LancerNote lancernote = new LancerNote(lanceur, accumulateur); - Lancerampli lancerampli = new Lancerampli(lanceur); + Lancerampli lancerampli = new Lancerampli(lanceur,limelight); CommandJoystick joystick = new CommandJoystick(0); CommandXboxController manette = new CommandXboxController(1); //command