From 6b76ad9d8a48a89158c9f09a27b1573e370f1ab5 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 21 Feb 2024 18:36:31 -0500 Subject: [PATCH] w --- src/main/java/frc/robot/RobotContainer.java | 3 --- src/main/java/frc/robot/command/GuiderBas.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index f3312c8..5245e8b 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -54,9 +54,6 @@ public class RobotContainer { Limelight limelight = new Limelight(); CommandJoystick joystick = new CommandJoystick(0); CommandXboxController manette = new CommandXboxController(1); - /*private final Relay blue = new Relay(0); - private final Relay rouge = new Relay(1); - private final Relay vert = new Relay(2);*/ //command PistonFerme pistonFerme = new PistonFerme(grimpeur); Balayer balayer = new Balayer(balayeuse, accumulateur); diff --git a/src/main/java/frc/robot/command/GuiderBas.java b/src/main/java/frc/robot/command/GuiderBas.java index a279897..4d6e5d2 100644 --- a/src/main/java/frc/robot/command/GuiderBas.java +++ b/src/main/java/frc/robot/command/GuiderBas.java @@ -40,6 +40,6 @@ public class GuiderBas extends Command { // Returns true when the command should end. @Override public boolean isFinished() { - return false; + return guideur.bas()==true; } }