diff --git a/src/main/java/frc/robot/subsystem/Guideur.java b/src/main/java/frc/robot/subsystem/Guideur.java index dc247a7..dfe394e 100644 --- a/src/main/java/frc/robot/subsystem/Guideur.java +++ b/src/main/java/frc/robot/subsystem/Guideur.java @@ -20,10 +20,10 @@ public class Guideur extends SubsystemBase { final DigitalInput guideurhaut = new DigitalInput(Constants.guideurhaut); final DigitalInput guideurbas = new DigitalInput(Constants.guideurbas); public Guideur() { - dashboard.addBoolean("limitguideurhaut", guideurhaut::get) + dashboard.addBoolean("limitguideurhaut", this::haut) .withSize(1,1) .withPosition(1,1); - dashboard.addBoolean("limitguideurbas", guideurbas::get) + dashboard.addBoolean("limitguideurbas", this::bas) .withSize(1,1) .withPosition(2,1); }