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": {
"0": {
"header": {
"open": true
}
},
"window": {
"visible": true
}

View File

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