This commit is contained in:
samuel desharnais 2024-02-12 18:14:24 -05:00
parent d9e9c2af4d
commit b462661bbc
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,11 @@
} }
}, },
"Solenoids": { "Solenoids": {
"0": {
"header": {
"open": true
}
},
"window": { "window": {
"visible": true "visible": true
} }

View File

@ -39,6 +39,7 @@ public class Grimpeur extends SubsystemBase {
final Solenoid pistondgauche = new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondgaucheouvre); final Solenoid pistondgauche = new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondgaucheouvre);
//fonction //fonction
public Grimpeur() { public Grimpeur() {
pistonferme();
layout.addBoolean("limitgrimpeurd", limitdroite::get); layout.addBoolean("limitgrimpeurd", limitdroite::get);
layout.addBoolean("limitgrimpeurg", limitdroite::get); layout.addBoolean("limitgrimpeurg", limitdroite::get);
layout.add("grimpeurencodeurd", encoderd()); layout.add("grimpeurencodeurd", encoderd());