k
This commit is contained in:
parent
db3c800ae1
commit
63aad0f693
@ -71,7 +71,7 @@ public class RobotContainer {
|
||||
Lancerampli lancerampli = new Lancerampli(lanceur,limelight);
|
||||
GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX);
|
||||
GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY);
|
||||
AllumeLED allumeLED = new AllumeLED(LED);
|
||||
AllumeLED allumeLED = new AllumeLED(LED,accumulateur);
|
||||
Pistongrimpeur pistongrimpeur = new Pistongrimpeur(grimpeur, LED);
|
||||
public RobotContainer() {
|
||||
dashboard.addCamera("limelight", "limelight","limelight.local:5800");
|
||||
|
@ -12,7 +12,7 @@ public class AllumeLED extends Command {
|
||||
private LED led;
|
||||
private Accumulateur accumulateur;
|
||||
/** Creates a new AllumeLED. */
|
||||
public AllumeLED(LED led) {
|
||||
public AllumeLED(LED led,Accumulateur accumulateur) {
|
||||
this.accumulateur = accumulateur;
|
||||
this.led = led;
|
||||
addRequirements(led);
|
||||
|
Loading…
x
Reference in New Issue
Block a user