Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
commit
e9f33581fa
@ -52,17 +52,20 @@ public class RobotContainer {
|
||||
Guideur guideur = new Guideur();
|
||||
Lanceur lanceur = new Lanceur();
|
||||
Limelight limelight = new Limelight();
|
||||
|
||||
//joystick
|
||||
CommandJoystick joystick = new CommandJoystick(0);
|
||||
CommandXboxController manette = new CommandXboxController(1);
|
||||
|
||||
//command
|
||||
PistonFerme pistonFerme = new PistonFerme(grimpeur);
|
||||
Balayer balayer = new Balayer(balayeuse, accumulateur);
|
||||
PistonFerme pistonFerme = new PistonFerme(grimpeur);
|
||||
Balayer balayer = new Balayer(balayeuse, accumulateur);
|
||||
GuiderHaut guiderHaut = new GuiderHaut(guideur);
|
||||
GuiderBas guiderBas = new GuiderBas(guideur);
|
||||
Lancer lancer = new Lancer(lanceur,limelight);
|
||||
LancerNote lancernote = new LancerNote(lanceur, accumulateur);
|
||||
Lancerampli lancerampli = new Lancerampli(lanceur,limelight);
|
||||
GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftY);
|
||||
GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftY);
|
||||
GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getRightY);
|
||||
public RobotContainer() {
|
||||
|
||||
|
@ -25,7 +25,7 @@ public class Limelight extends SubsystemBase {
|
||||
public Limelight() {
|
||||
for (int port = 5800; port <= 5807; port++) {
|
||||
PortForwarder.add(port, "limelight.local", port);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public double getx(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user