mode automne

This commit is contained in:
samuel desharnais 2025-03-03 09:42:00 -05:00
parent b6bd4d9319
commit 3eb5b75b23
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": [ "waypoints": [
{ {
"anchor": { "anchor": {
"x": 1.8820696721311476, "x": 7.564241803278687,
"y": 6.0 "y": 3.899129098360655
}, },
"prevControl": null, "prevControl": null,
"nextControl": { "nextControl": {
"x": 1.8706512438743716, "x": 6.506996649367605,
"y": 5.690872003047288 "y": 3.898163120386143
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
}, },
{ {
"anchor": { "anchor": {
"x": 1.8820696721311476, "x": 6.269569672131147,
"y": 3.1279999999999997 "y": 3.899129098360655
}, },
"prevControl": { "prevControl": {
"x": 1.8863317961339294, "x": 7.259410179761819,
"y": 3.3779636659576444 "y": 3.9002985318003183
}, },
"nextControl": null, "nextControl": null,
"isLocked": false, "isLocked": false,

View File

@ -102,6 +102,8 @@ public class RobotContainer {
NamedCommands.registerCommand("L3", new L3(elevateur, pince)); NamedCommands.registerCommand("L3", new L3(elevateur, pince));
NamedCommands.registerCommand("CoralExpire",new CoralExpire(pince,bougie)); NamedCommands.registerCommand("CoralExpire",new CoralExpire(pince,bougie));
NamedCommands.registerCommand("CoraletAlgue", new CoralAlgueInspire(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() { private void configureBindings() {
drivetrain.registerTelemetry(logger::telemeterize); drivetrain.registerTelemetry(logger::telemeterize);