This commit is contained in:
Antoine 2024-11-25 19:12:19 -05:00
commit 3f24040784

View File

@ -34,10 +34,10 @@ public class RobotContainer {
NamedCommands.registerCommand("lancer", new Lancer(lanceur, accumulateur)); NamedCommands.registerCommand("lancer", new Lancer(lanceur, accumulateur));
autoChooser = AutoBuilder.buildAutoChooser(); autoChooser = AutoBuilder.buildAutoChooser();
dashboard.addCamera("limelight3G", "limelight3G","limelight.local:5800") dashboard.addCamera("limelight3G", "limelight3G","limelight.local:5800")
.withSize(3,3) .withSize(3,4)
.withPosition(5,0); .withPosition(5,0);
dashboard.addCamera("limelight3", "limelight3","limelight.local:5800") dashboard.addCamera("limelight3", "limelight3","limelight.local:5800")
.withSize(3,3) .withSize(3,4)
.withPosition(2,0); .withPosition(2,0);
configureBindings(); configureBindings();
drive.setDefaultCommand(new RunCommand(()->{ drive.setDefaultCommand(new RunCommand(()->{
@ -45,7 +45,7 @@ public class RobotContainer {
},drive)); },drive));
dashboard.add("autochooser",autoChooser) dashboard.add("autochooser",autoChooser)
.withSize(1,1) .withSize(1,1)
.withPosition(6,0); .withPosition(8,0);
} }
private void configureBindings() { private void configureBindings() {