diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 41069ed..045a1be 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -64,6 +64,9 @@ public AHRS gyroscope = new AHRS(); public void pistonouvre(){ pistondroite.set(false); } + public boolean piston(){ + return pistondroite.get(); + } @Override public void periodic() {