pus de lancez

This commit is contained in:
Antoine PerreaultE 2023-11-01 18:23:51 -04:00
parent 39b0626519
commit 561aab6d32

View File

@ -12,15 +12,12 @@ 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 Lancez extends SequentialCommandGroup {
public class Accumuler extends SequentialCommandGroup {
public Lancez(Lanceur lanceur, Accumulateur accumulateur) {
public Accumuler(Accumulateur accumulateur) {
// Add your commands in the addCommands() call, e.g.
// addCommands(new FooCommand(), new BarCommand());
addCommands(new Lancer(lanceur), new Deaccumuler(accumulateur), new Reaccumuler(accumulateur));
addCommands(new Deaccumuler(accumulateur), new Reaccumuler(accumulateur));
}
public Lancez(Lancez lancez){}
}