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,8 +52,11 @@ public class RobotContainer {
Guideur guideur = new Guideur(); Guideur guideur = new Guideur();
Lanceur lanceur = new Lanceur(); Lanceur lanceur = new Lanceur();
Limelight limelight = new Limelight(); Limelight limelight = new Limelight();
//joystick
CommandJoystick joystick = new CommandJoystick(0); CommandJoystick joystick = new CommandJoystick(0);
CommandXboxController manette = new CommandXboxController(1); CommandXboxController manette = new CommandXboxController(1);
//command //command
PistonFerme pistonFerme = new PistonFerme(grimpeur); PistonFerme pistonFerme = new PistonFerme(grimpeur);
Balayer balayer = new Balayer(balayeuse, accumulateur); Balayer balayer = new Balayer(balayeuse, accumulateur);

View File

@ -25,7 +25,7 @@ public class Limelight extends SubsystemBase {
public Limelight() { public Limelight() {
for (int port = 5800; port <= 5807; port++) { for (int port = 5800; port <= 5807; port++) {
PortForwarder.add(port, "limelight.local", port); PortForwarder.add(port, "limelight.local", port);
} }
} }
public double getx(){ public double getx(){