This commit is contained in:
Antoine PerreaultE 2024-02-22 17:29:11 -05:00
parent a20b72e460
commit 09cfd458d9
2 changed files with 7 additions and 4 deletions

View File

@ -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() {

View File

@ -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(){