This commit is contained in:
parent
0d73ed1193
commit
76ca981f8b
@ -20,10 +20,10 @@ public class Guideur extends SubsystemBase {
|
|||||||
final DigitalInput guideurhaut = new DigitalInput(Constants.guideurhaut);
|
final DigitalInput guideurhaut = new DigitalInput(Constants.guideurhaut);
|
||||||
final DigitalInput guideurbas = new DigitalInput(Constants.guideurbas);
|
final DigitalInput guideurbas = new DigitalInput(Constants.guideurbas);
|
||||||
public Guideur() {
|
public Guideur() {
|
||||||
dashboard.addBoolean("limitguideurhaut", guideurhaut::get)
|
dashboard.addBoolean("limitguideurhaut", this::haut)
|
||||||
.withSize(1,1)
|
.withSize(1,1)
|
||||||
.withPosition(1,1);
|
.withPosition(1,1);
|
||||||
dashboard.addBoolean("limitguideurbas", guideurbas::get)
|
dashboard.addBoolean("limitguideurbas", this::bas)
|
||||||
.withSize(1,1)
|
.withSize(1,1)
|
||||||
.withPosition(2,1);
|
.withPosition(2,1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user