desaccumuler mode auto

This commit is contained in:
Olivier Dubois 2024-12-11 18:45:09 -05:00
parent cdb2947600
commit 99c50dc4fc
2 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,12 @@
"waitTime": 2.0 "waitTime": 2.0
} }
}, },
{
"type": "named",
"data": {
"name": "lancer"
}
},
{ {
"type": "named", "type": "named",
"data": { "data": {

View File

@ -32,6 +32,7 @@ public class RobotContainer {
CommandXboxController manette = new CommandXboxController(0); CommandXboxController manette = new CommandXboxController(0);
public RobotContainer() { public RobotContainer() {
NamedCommands.registerCommand("lancer", new Lancer(lanceur, accumulateur)); NamedCommands.registerCommand("lancer", new Lancer(lanceur, accumulateur));
NamedCommands.registerCommand("Desaccumuler", new Desaccumuler(accumulateur));
autoChooser = AutoBuilder.buildAutoChooser(); autoChooser = AutoBuilder.buildAutoChooser();
dashboard.addCamera("limelight3G", "limelight3G","limelight.local:5800") dashboard.addCamera("limelight3G", "limelight3G","limelight.local:5800")
.withSize(3,4) .withSize(3,4)