LED
This commit is contained in:
parent
a708aac700
commit
f293f07bbd
@ -58,7 +58,7 @@ public class RobotContainer {
|
||||
GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX);
|
||||
GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY);
|
||||
LED LED = new LED();
|
||||
AllumeLED allumeLED = new AllumeLED(LED, accumulateur);
|
||||
AllumeLED allumeLED = new AllumeLED(LED);
|
||||
public RobotContainer() {
|
||||
NamedCommands.registerCommand("balayer",new Balayer(balayeuse, accumulateur));
|
||||
NamedCommands.registerCommand("lancer", new LancerNote(lanceur, accumulateur));
|
||||
|
@ -15,7 +15,7 @@ public class AllumeLED extends Command {
|
||||
public AllumeLED(LED led,Accumulateur accumulateur) {
|
||||
this.accumulateur = accumulateur;
|
||||
this.led = led;
|
||||
addRequirements(led,accumulateur);
|
||||
addRequirements(led);
|
||||
// Use addRequirements() here to declare subsystem dependencies.
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user