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