diff --git a/src/main/java/frc/robot/commands/Activer_poussoir.java b/src/main/java/frc/robot/commands/Activer_poussoir.java index f40f96f..1ac4a06 100644 --- a/src/main/java/frc/robot/commands/Activer_poussoir.java +++ b/src/main/java/frc/robot/commands/Activer_poussoir.java @@ -5,12 +5,17 @@ package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; +import frc.robot.subsystems.Poussoir; public class Activer_poussoir extends CommandBase { - /** Creates a new Activer_poussoir. */ - public Activer_poussoir() { - // Use addRequirements() here to declare subsystem dependencies. - } + private Poussoir poussoir; + + public Activer_poussoir(Poussoir poussoir) { + this.poussoir = poussoir; + + + addRequirements(poussoir); + } // Called when the command is initially scheduled. @Override