This commit is contained in:
Antoine PerreaultE 2023-10-31 18:51:03 -04:00
parent c021b4136a
commit ca69544017

View File

@ -13,11 +13,14 @@ import frc.robot.subsystems.Lanceur;
// information, see: // information, see:
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html // https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
public class Lancez extends SequentialCommandGroup { public class Lancez extends SequentialCommandGroup {
/** Creates a new Lancez.
* @param Lanceur */ public Lancez(Lanceur lanceur, Accumulateur accumulateur) {
public Lancez(Lancer lancer, Deaccumuler deaccumuler, Reaccumuler reaccumuler, Lanceur Lanceur) {
// Add your commands in the addCommands() call, e.g. // Add your commands in the addCommands() call, e.g.
// addCommands(new FooCommand(), new BarCommand()); // 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){}
}