diff --git a/simgui.json b/simgui.json index de3467e..6615be0 100644 --- a/simgui.json +++ b/simgui.json @@ -18,6 +18,11 @@ } }, "Solenoids": { + "0": { + "header": { + "open": true + } + }, "window": { "visible": true } diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 293bdec..8099c2f 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -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());