s
This commit is contained in:
parent
3f8abad009
commit
1dadb3cb77
@ -71,7 +71,7 @@ public class RobotContainer {
|
|||||||
AllumeLED allumeLED = new AllumeLED(LED, accumulateur);
|
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")
|
||||||
.withSize(3,4)
|
.withSize(3,4)
|
||||||
.withPosition(7,0);
|
.withPosition(7,0);
|
||||||
@ -105,7 +105,7 @@ public class RobotContainer {
|
|||||||
grimpeur.setDefaultCommand(new RunCommand(()->{
|
grimpeur.setDefaultCommand(new RunCommand(()->{
|
||||||
grimpeur.droit(MathUtil.applyDeadband(-manette.getLeftY(), 0.2));
|
grimpeur.droit(MathUtil.applyDeadband(-manette.getLeftY(), 0.2));
|
||||||
grimpeur.gauche(MathUtil.applyDeadband(-manette.getRightY(),0.2 ));}
|
grimpeur.gauche(MathUtil.applyDeadband(-manette.getRightY(),0.2 ));}
|
||||||
,grimpeur));
|
,grimpeur));
|
||||||
|
|
||||||
LED.setDefaultCommand(allumeLED);
|
LED.setDefaultCommand(allumeLED);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user