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; } }