diff --git a/src/main/deploy/pathplanner/autos/Depot. Hub.auto b/src/main/deploy/pathplanner/autos/Depot. Hub.auto new file mode 100644 index 0000000..134ca13 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Depot. Hub.auto @@ -0,0 +1,25 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. Hub. shoot 8. E-Hub" + } + }, + { + "type": "path", + "data": { + "pathName": "M. Depot. " + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Depot. L-Tr..auto b/src/main/deploy/pathplanner/autos/Depot. L-Tr..auto new file mode 100644 index 0000000..597d68e --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Depot. L-Tr..auto @@ -0,0 +1,25 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. L-Tre. Preload." + } + }, + { + "type": "path", + "data": { + "pathName": "M. Depot. " + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Depot. R-Tr.auto b/src/main/deploy/pathplanner/autos/Depot. R-Tr.auto new file mode 100644 index 0000000..89cb728 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Depot. R-Tr.auto @@ -0,0 +1,25 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. R-Trench. E-Hub" + } + }, + { + "type": "path", + "data": { + "pathName": "M. Depot. " + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Relay. L-Tr..auto b/src/main/deploy/pathplanner/autos/Relay. L-Tr..auto new file mode 100644 index 0000000..527c67d --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Relay. L-Tr..auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "Relay. L-Tr." + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Relay. R-Tr..auto b/src/main/deploy/pathplanner/autos/Relay. R-Tr..auto new file mode 100644 index 0000000..aa5298a --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Relay. R-Tr..auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "Relay. R-Tr." + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Shoot 8. Hub.auto b/src/main/deploy/pathplanner/autos/Shoot 8. Hub.auto new file mode 100644 index 0000000..a7380ff --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Shoot 8. Hub.auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. Hub. shoot 8. E-Hub" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Shoot 8. L-Tr..auto b/src/main/deploy/pathplanner/autos/Shoot 8. L-Tr..auto new file mode 100644 index 0000000..997f905 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Shoot 8. L-Tr..auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. L-Tre. Preload." + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Shoot 8. R-Tr..auto b/src/main/deploy/pathplanner/autos/Shoot 8. R-Tr..auto new file mode 100644 index 0000000..ae61a31 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Shoot 8. R-Tr..auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S. R-Trench. E-Hub" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/navgrid.json b/src/main/deploy/pathplanner/navgrid.json new file mode 100644 index 0000000..ac5f521 --- /dev/null +++ b/src/main/deploy/pathplanner/navgrid.json @@ -0,0 +1 @@ +{"field_size":{"x":16.54,"y":8.07},"nodeSizeMeters":0.3,"grid":[[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,true,true,true],[true,true,true,true,true,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,true,true,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true],[true,true,true,true,true,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true],[true,true,true,true,true,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true],[true,true,true,true,true,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true],[true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,true,true,true,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,true,true,true,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]]} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/M. Depot. .path b/src/main/deploy/pathplanner/paths/M. Depot. .path new file mode 100644 index 0000000..990a3af --- /dev/null +++ b/src/main/deploy/pathplanner/paths/M. Depot. .path @@ -0,0 +1,107 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.4727349397590364, + "y": 4.013144578313253 + }, + "prevControl": null, + "nextControl": { + "x": 3.2818883684167575, + "y": 4.174630138679796 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.751734939759036, + "y": 4.942 + }, + "prevControl": { + "x": 1.975638554216867, + "y": 6.362602409638553 + }, + "nextControl": { + "x": 0.40641026098477545, + "y": 4.54117671213702 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.751734939759036, + "y": 7.138469879518072 + }, + "prevControl": { + "x": 0.4124120733073493, + "y": 6.876706525398199 + }, + "nextControl": { + "x": 1.1342048192771081, + "y": 7.433518072289157 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.4727349397590364, + "y": 4.013144578313253 + }, + "prevControl": { + "x": 2.161409638554217, + "y": 4.1989156626506015 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.0308661417322806, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 1.7754330708661374, + "rotationDegrees": 90.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot 8", + "waypointRelativePos": 3.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Shoot preload" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 180.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Relay. L-Tr..path b/src/main/deploy/pathplanner/paths/Relay. L-Tr..path new file mode 100644 index 0000000..ab9b6e2 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Relay. L-Tr..path @@ -0,0 +1,193 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.5055180722891564, + "y": 7.466301204819277 + }, + "prevControl": null, + "nextControl": { + "x": 4.505518072289158, + "y": 7.466301204819277 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.67990361445783, + "y": 7.269602409638554 + }, + "prevControl": { + "x": 7.475661648641639, + "y": 7.413773209038217 + }, + "nextControl": { + "x": 7.884145580274021, + "y": 7.125431610238891 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.67990361445783, + "y": 1.0845180722891563 + }, + "prevControl": { + "x": 7.619269708198755, + "y": 1.3270536973254914 + }, + "nextControl": { + "x": 7.743952438085447, + "y": 0.828322777778649 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.641771084337348, + "y": 0.9206024096385546 + }, + "prevControl": { + "x": 6.662532454300786, + "y": 1.1697388491997742 + }, + "nextControl": { + "x": 6.62100971437391, + "y": 0.6714659700773349 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.663626506024096, + "y": 7.19310843373494 + }, + "prevControl": { + "x": 6.649759001118466, + "y": 6.943493345433587 + }, + "nextControl": { + "x": 6.677494010929727, + "y": 7.442723522036293 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.876831325301204, + "y": 7.19310843373494 + }, + "prevControl": { + "x": 6.125590622853701, + "y": 7.217984363490191 + }, + "nextControl": { + "x": 5.628072027748707, + "y": 7.168232503979689 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.745698795180723, + "y": 0.9206024096385546 + }, + "prevControl": { + "x": 5.857502194055715, + "y": 1.1442092073885324 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": 0.0 + }, + { + "waypointRelativePos": 1.0672199170124472, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 2.0863070539419084, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 2.962655601659752, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 3.9983402489627107, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 5.02406639004149, + "rotationDegrees": -90.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot Headed R-Tr", + "waypointRelativePos": 1.0302729528535988, + "endWaypointRelativePos": 2.2094292803970026, + "command": { + "type": "named", + "data": { + "name": "Shoot Headed R-Tr" + } + } + }, + { + "name": "Shoot headed L-Tr", + "waypointRelativePos": 3.1503722084366608, + "endWaypointRelativePos": 4.281885856079398, + "command": { + "type": "named", + "data": { + "name": "Shoot headed L-Tr" + } + } + }, + { + "name": "Shoot Headed R-Tr", + "waypointRelativePos": 5.067990074441674, + "endWaypointRelativePos": 6.0, + "command": { + "type": "named", + "data": { + "name": "Shoot Headed R-Tr" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": -90.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Relay. R-Tr..path b/src/main/deploy/pathplanner/paths/Relay. R-Tr..path new file mode 100644 index 0000000..1edcd79 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Relay. R-Tr..path @@ -0,0 +1,197 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.4618072289156623, + "y": 0.680192771084337 + }, + "prevControl": null, + "nextControl": { + "x": 4.4618072289156725, + "y": 0.680192771084337 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.395783132530121, + "y": 0.8768915662650603 + }, + "prevControl": { + "x": 6.47916753759839, + "y": 0.6593895606880393 + }, + "nextControl": { + "x": 8.040518072289156, + "y": 1.029879518072289 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.668975903614458, + "y": 7.138469879518072 + }, + "prevControl": { + "x": 7.691609840125085, + "y": 7.387443181134998 + }, + "nextControl": { + "x": 7.64634196710383, + "y": 6.889496577901146 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.761975903614458, + "y": 7.138469879518072 + }, + "prevControl": { + "x": 7.011975903614458, + "y": 7.138469879518072 + }, + "nextControl": { + "x": 6.511975903614461, + "y": 7.138469879518072 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.761975903614458, + "y": 1.029879518072289 + }, + "prevControl": { + "x": 7.011975903614458, + "y": 1.029879518072289 + }, + "nextControl": { + "x": 6.511975903614458, + "y": 1.029879518072289 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.8440481927710834, + "y": 1.029879518072289 + }, + "prevControl": { + "x": 6.020824888067715, + "y": 0.8531028227756468 + }, + "nextControl": { + "x": 5.667271497474452, + "y": 1.2066562133689314 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.8440481927710834, + "y": 6.9964096385542165 + }, + "prevControl": { + "x": 5.885147939597421, + "y": 6.74981115759618 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": 0.0 + }, + { + "waypointRelativePos": 1.0406639004149303, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 1.917012448132766, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 3.0904564315352623, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 3.91867219917012, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 5.063900414937716, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 6.0, + "rotationDegrees": 90.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot headed L-Tr", + "waypointRelativePos": 1.0302729528536159, + "endWaypointRelativePos": 2.4357320099255366, + "command": { + "type": "named", + "data": { + "name": "Shoot headed L-Tr" + } + } + }, + { + "name": "Shoot Headed R-Tr", + "waypointRelativePos": 2.9836228287841102, + "endWaypointRelativePos": 4.103225806451647, + "command": { + "type": "named", + "data": { + "name": "Shoot Headed R-Tr" + } + } + }, + { + "name": "Shoot headed L-Tr", + "waypointRelativePos": 5.079900744416814, + "endWaypointRelativePos": 6.0, + "command": { + "type": "named", + "data": { + "name": "Shoot headed L-Tr" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 90.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/S. Hub. shoot 8. E-Hub.path b/src/main/deploy/pathplanner/paths/S. Hub. shoot 8. E-Hub.path new file mode 100644 index 0000000..8793d07 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/S. Hub. shoot 8. E-Hub.path @@ -0,0 +1,87 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.48366265060241, + "y": 4.00221686746988 + }, + "prevControl": null, + "nextControl": { + "x": 3.2365697261897557, + "y": 4.040231163533364 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.084915662650602, + "y": 4.00221686746988 + }, + "prevControl": { + "x": 1.084915662650602, + "y": 4.00221686746988 + }, + "nextControl": { + "x": 3.084915662650602, + "y": 4.00221686746988 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.473, + "y": 4.013 + }, + "prevControl": { + "x": 3.1233132530120478, + "y": 4.034855421686746 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.7905511811023622, + "rotationDegrees": 180.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot 8", + "waypointRelativePos": 2.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Shoot preload" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/S. L-Tre. Preload..path b/src/main/deploy/pathplanner/paths/S. L-Tre. Preload..path new file mode 100644 index 0000000..b680535 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/S. L-Tre. Preload..path @@ -0,0 +1,87 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.48366265060241, + "y": 7.466301204819277 + }, + "prevControl": null, + "nextControl": { + "x": 3.3666907204976515, + "y": 7.245354225732512 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.3581084337349396, + "y": 4.00221686746988 + }, + "prevControl": { + "x": 1.3581084337349396, + "y": 4.00221686746988 + }, + "nextControl": { + "x": 3.3581084337349396, + "y": 4.00221686746988 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.48366265060241, + "y": 4.00221686746988 + }, + "prevControl": { + "x": 3.133975903614458, + "y": 3.9912891566265065 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.936692913385826, + "rotationDegrees": 180.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot 8", + "waypointRelativePos": 2.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Shoot preload" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/S. R-Trench. E-Hub.path b/src/main/deploy/pathplanner/paths/S. R-Trench. E-Hub.path new file mode 100644 index 0000000..8fdebe3 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/S. R-Trench. E-Hub.path @@ -0,0 +1,87 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.5273734939759036, + "y": 0.5272048192771093 + }, + "prevControl": null, + "nextControl": { + "x": 2.478313253012048, + "y": 0.8003975903614468 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.128626506024096, + "y": 3.892939759036145 + }, + "prevControl": { + "x": 1.9085087310435527, + "y": 3.77441480327739 + }, + "nextControl": { + "x": 2.348744281004639, + "y": 4.0114647147949 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.473, + "y": 4.013 + }, + "prevControl": { + "x": 3.2270325224750227, + "y": 4.057721359549996 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.8686614173228185, + "rotationDegrees": 180.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Shoot 8", + "waypointRelativePos": 2.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Shoot preload" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Spin.path b/src/main/deploy/pathplanner/paths/Spin.path new file mode 100644 index 0000000..5ce99cd --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Spin.path @@ -0,0 +1,91 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.5164457831325304, + "y": 0.5599879518072293 + }, + "prevControl": null, + "nextControl": { + "x": 2.716570175215442, + "y": 2.6055674399847426 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.5164457831325304, + "y": 3.958506024096385 + }, + "prevControl": { + "x": 3.3576574884732078, + "y": 2.7315170387830205 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.24787401574803541, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 0.29574803149607193, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 0.3398425196850417, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 0.38267716535433216, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 0.4305511811023681, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 0.465826771653542, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 0.5099212598425222, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 0.5363779527559113, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 0.5565354330708714, + "rotationDegrees": -90.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 0.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/settings.json b/src/main/deploy/pathplanner/settings.json new file mode 100644 index 0000000..724a5d1 --- /dev/null +++ b/src/main/deploy/pathplanner/settings.json @@ -0,0 +1,32 @@ +{ + "robotWidth": 0.8763, + "robotLength": 0.8763, + "holonomicMode": true, + "pathFolders": [], + "autoFolders": [], + "defaultMaxVel": 3.0, + "defaultMaxAccel": 3.0, + "defaultMaxAngVel": 540.0, + "defaultMaxAngAccel": 720.0, + "defaultNominalVoltage": 12.0, + "robotMass": 44.4521, + "robotMOI": 6.883, + "robotTrackwidth": 0.546, + "driveWheelRadius": 0.051, + "driveGearing": 8.14, + "maxDriveSpeed": 3.9, + "driveMotorType": "krakenX60", + "driveCurrentLimit": 60.0, + "wheelCOF": 1.2, + "flModuleX": 0.273, + "flModuleY": 0.273, + "frModuleX": 0.273, + "frModuleY": -0.273, + "blModuleX": -0.273, + "blModuleY": 0.273, + "brModuleX": -0.273, + "brModuleY": -0.273, + "bumperOffsetX": 0.0, + "bumperOffsetY": 0.0, + "robotFeatures": [] +} \ No newline at end of file