From b462661bbc7d39021f5a073c049890e19a58340c Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:14:24 -0500 Subject: [PATCH] --- simgui.json | 5 +++++ src/main/java/frc/robot/subsystem/Grimpeur.java | 1 + 2 files changed, 6 insertions(+) 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());