From 2455414992009b0ec3a6b446f5a3c3e76c06896d Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Mon, 21 Nov 2022 18:10:37 -0500 Subject: [PATCH] a --- src/main/java/frc/robot/commands/Activer_poussoir.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/commands/Activer_poussoir.java b/src/main/java/frc/robot/commands/Activer_poussoir.java index 0506948..7da9666 100644 --- a/src/main/java/frc/robot/commands/Activer_poussoir.java +++ b/src/main/java/frc/robot/commands/Activer_poussoir.java @@ -20,12 +20,16 @@ public class Activer_poussoir extends CommandBase { // Called when the command is initially scheduled. @Override public void initialize() { + poussoir.pousser(); } // Called once the command ends or is interrupted. @Override - public void end(boolean interrupted) {} + public void end(boolean interrupted) { + + poussoir.tirer(); + } // Returns true when the command should end. @Override