diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 0b24b86..8b348ff 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -19,4 +19,6 @@ public final class Constants { public static final int PistonPousserF = 1; public static final int pistonQuiShakef = 0; public static final int pistonQuiShakeb = 1; + public static final int pistonBloqueurR = 2; + public static final int pistonBloqueurF = 3; } diff --git a/src/main/java/frc/robot/subsystems/Poussoir.java b/src/main/java/frc/robot/subsystems/Poussoir.java index 7774e23..f0b0056 100644 --- a/src/main/java/frc/robot/subsystems/Poussoir.java +++ b/src/main/java/frc/robot/subsystems/Poussoir.java @@ -11,6 +11,7 @@ import frc.robot.Constants; public class Poussoir extends SubsystemBase { private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.PistonPousserR,Constants.PistonPousserF ); + private DoubleSolenoid bloqueur = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.pistonBloqueurR,Constants.pistonBloqueurF); /** Creates a new Poussoir. */ public Poussoir() {