Merge branch 'main' of https://git.demerso.net/PLS5618/pratique-2025
This commit is contained in:
commit
3f24040784
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user