This commit is contained in:
samuel desharnais 2024-02-26 20:08:55 -05:00
parent 0d73ed1193
commit 76ca981f8b

View File

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