This commit is contained in:
Antoine PerreaultE 2025-03-03 09:43:25 -05:00
commit 263caa4d85
3 changed files with 53 additions and 8 deletions

View File

@ -0,0 +1,43 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "New Path"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "baleeuse"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "baleeuse sort"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}

View File

@ -3,25 +3,25 @@
"waypoints": [
{
"anchor": {
"x": 1.8820696721311476,
"y": 6.0
"x": 7.564241803278687,
"y": 3.899129098360655
},
"prevControl": null,
"nextControl": {
"x": 1.8706512438743716,
"y": 5.690872003047288
"x": 6.506996649367605,
"y": 3.898163120386143
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 1.8820696721311476,
"y": 3.1279999999999997
"x": 6.269569672131147,
"y": 3.899129098360655
},
"prevControl": {
"x": 1.8863317961339294,
"y": 3.3779636659576444
"x": 7.259410179761819,
"y": 3.9002985318003183
},
"nextControl": null,
"isLocked": false,

View File

@ -103,6 +103,8 @@ public class RobotContainer {
NamedCommands.registerCommand("L3", new L3(elevateur, pince));
NamedCommands.registerCommand("CoralExpire",new CoralExpire(pince,bougie));
NamedCommands.registerCommand("CoraletAlgue", new CoralAlgueInspire(pince,bougie));
NamedCommands.registerCommand("baleeuse",new L1Requin(requin, bougie));
NamedCommands.registerCommand("baleeuse sort", new ExpireCorail(requin, bougie));
}
private void configureBindings() {
drivetrain.registerTelemetry(logger::telemeterize);