diff --git a/src/main/java/frc/robot/commands/Lancer.java b/src/main/java/frc/robot/commands/Lancer.java index f52c69c..00685b9 100644 --- a/src/main/java/frc/robot/commands/Lancer.java +++ b/src/main/java/frc/robot/commands/Lancer.java @@ -13,9 +13,6 @@ import edu.wpi.first.wpilibj2.command.WaitUntilCommand; import frc.robot.subsystems.Accumulateur; import frc.robot.subsystems.Lanceur; -// NOTE: Consider using this command inline, rather than writing a subclass. For more -// information, see: -// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html public class Lancer extends ParallelCommandGroup { private Lanceur lanceur; private Accumulateur accumulateur; @@ -28,7 +25,7 @@ public class Lancer extends ParallelCommandGroup { // Add your commands in the addCommands() call, e.g. // addCommands(new FooCommand(), new BarCommand()); addCommands(new Lancez(lanceur), - new SequentialCommandGroup(new WaitUntilCommand(()->lanceur.vitesse()>vitesse.getDouble(0))) - ,new AccAvancer(accumulateur),new AccReculer(accumulateur)); + new SequentialCommandGroup(new WaitUntilCommand(()->lanceur.vitesse()>vitesse.getDouble(0))), + new AccAvancer(accumulateur),new AccReculer(accumulateur)); } }