From ca69544017a63353ae73bfc3c5981cb352e9d7cb Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Tue, 31 Oct 2023 18:51:03 -0400 Subject: [PATCH] Lancez --- src/main/java/frc/robot/commands/Lancez.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/java/frc/robot/commands/Lancez.java b/src/main/java/frc/robot/commands/Lancez.java index 896d544..75c69df 100644 --- a/src/main/java/frc/robot/commands/Lancez.java +++ b/src/main/java/frc/robot/commands/Lancez.java @@ -13,11 +13,14 @@ import frc.robot.subsystems.Lanceur; // information, see: // https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html public class Lancez extends SequentialCommandGroup { - /** Creates a new Lancez. - * @param Lanceur */ - public Lancez(Lancer lancer, Deaccumuler deaccumuler, Reaccumuler reaccumuler, Lanceur Lanceur) { + + public Lancez(Lanceur lanceur, Accumulateur accumulateur) { // Add your commands in the addCommands() call, e.g. // addCommands(new FooCommand(), new BarCommand()); - addCommands(new Lancer(Lanceur), new Deaccumuler(Accumulateur)); + addCommands(new Lancer(lanceur), new Deaccumuler(accumulateur), new Reaccumuler(accumulateur)); + } -} + + +public Lancez(Lancez lancez){} +} \ No newline at end of file