diff --git a/src/main/java/frc/robot/subsystems/Poussoir.java b/src/main/java/frc/robot/subsystems/Poussoir.java index aff34a9..c60883e 100644 --- a/src/main/java/frc/robot/subsystems/Poussoir.java +++ b/src/main/java/frc/robot/subsystems/Poussoir.java @@ -9,13 +9,14 @@ import edu.wpi.first.wpilibj.PneumaticsModuleType; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants; +import frc.robot.commands.Activer_poussoir; 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() { + public Poussoir() { bloquer(); }