This commit is contained in:
Antoine PerreaultE 2024-02-20 18:13:35 -05:00
parent 3f8abad009
commit 1dadb3cb77

View File

@ -71,7 +71,7 @@ public class RobotContainer {
AllumeLED allumeLED = new AllumeLED(LED, accumulateur);
Pistongrimpeur pistongrimpeur = new Pistongrimpeur(grimpeur, LED);
public RobotContainer() {
dashboard.addCamera("limelight", "limelight","limelight.local:5800")
.withSize(3,4)
.withPosition(7,0);
@ -105,7 +105,7 @@ public class RobotContainer {
grimpeur.setDefaultCommand(new RunCommand(()->{
grimpeur.droit(MathUtil.applyDeadband(-manette.getLeftY(), 0.2));
grimpeur.gauche(MathUtil.applyDeadband(-manette.getRightY(),0.2 ));}
,grimpeur));
,grimpeur));
LED.setDefaultCommand(allumeLED);