From ba5f11b003ad9e850e0e988582dd702aa2019a56 Mon Sep 17 00:00:00 2001 From: WesleyWong-972 Date: Tue, 21 Apr 2026 16:33:53 -0700 Subject: [PATCH] added depot autos --- .../pathplanner/paths/Depot Center Path.path | 142 ++++++++++++++ .../paths/Left Bump Depot Center Path.path | 181 ++++++++++++++++++ .../paths/Left Trench Depot Center Path.path | 181 ++++++++++++++++++ 3 files changed, 504 insertions(+) create mode 100644 src/main/deploy/pathplanner/paths/Depot Center Path.path create mode 100644 src/main/deploy/pathplanner/paths/Left Bump Depot Center Path.path create mode 100644 src/main/deploy/pathplanner/paths/Left Trench Depot Center Path.path diff --git a/src/main/deploy/pathplanner/paths/Depot Center Path.path b/src/main/deploy/pathplanner/paths/Depot Center Path.path new file mode 100644 index 0000000..eca828c --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Depot Center Path.path @@ -0,0 +1,142 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.543, + "y": 4.217 + }, + "prevControl": null, + "nextControl": { + "x": 3.5036773428232504, + "y": 6.55803084223013 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.5018623962040341, + "y": 4.911874258600237 + }, + "prevControl": { + "x": 0.5018623962040341, + "y": 4.14140782882557 + }, + "nextControl": { + "x": 0.5018623962040341, + "y": 5.342241992882562 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.6309727164887315, + "y": 6.988398576512456 + }, + "prevControl": { + "x": 0.4401261451464529, + "y": 6.826913016145912 + }, + "nextControl": { + "x": 1.038758919288973, + "y": 7.3334484404203515 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": { + "x": 3.9017674970344016, + "y": 7.0417129300118635 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.89, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 2.0454545454545388, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 3.0, + "rotationDegrees": 0.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Hood Down", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 0.9988974641675645, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Spindexer", + "waypointRelativePos": 1.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Extend Intake", + "waypointRelativePos": 1.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 3.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 3.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Intake Seizure", + "waypointRelativePos": 3.0, + "endWaypointRelativePos": null, + "command": null + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.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/paths/Left Bump Depot Center Path.path b/src/main/deploy/pathplanner/paths/Left Bump Depot Center Path.path new file mode 100644 index 0000000..70879bf --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Left Bump Depot Center Path.path @@ -0,0 +1,181 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.568232502965599, + "y": 6.041589561086512 + }, + "prevControl": null, + "nextControl": { + "x": 3.073309608540926, + "y": 7.429525504151838 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.5341399762731966, + "y": 6.56879003558236 + }, + "prevControl": { + "x": 0.4696627447231163, + "y": 7.879827077009309 + }, + "nextControl": { + "x": 0.5664175563463827, + "y": 5.9124792408066424 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.7062870699861263, + "y": 4.944151838666582 + }, + "prevControl": { + "x": 0.32971530249110376, + "y": 4.83655990510083 + }, + "nextControl": { + "x": 2.0901127912904798, + "y": 5.339530616166478 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.7290154211130537, + "y": 6.041589561086512 + }, + "prevControl": { + "x": 2.509641474721047, + "y": 5.48937238568611 + }, + "nextControl": { + "x": 3.041032028469752, + "y": 6.827010676156583 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": { + "x": 3.428383113987069, + "y": 7.720021902743396 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 1.8741258741258744, + "rotationDegrees": -90.0 + } + ], + "constraintZones": [ + { + "name": "After Depot", + "minWaypointRelativePos": 1.5082690187431023, + "maxWaypointRelativePos": 2.2403528114663795, + "constraints": { + "maxVelocity": 1.0, + "maxAcceleration": 1.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + } + }, + { + "name": "Constraints Zone", + "minWaypointRelativePos": 3.5, + "maxWaypointRelativePos": 3.995589856670343, + "constraints": { + "maxVelocity": 1.0, + "maxAcceleration": 1.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + } + } + ], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Hood Down", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Spindexer", + "waypointRelativePos": 0.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 0.899669239250276, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Extend Intake", + "waypointRelativePos": 0.9, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Intake Seizure", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.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/paths/Left Trench Depot Center Path.path b/src/main/deploy/pathplanner/paths/Left Trench Depot Center Path.path new file mode 100644 index 0000000..2c027a0 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Left Trench Depot Center Path.path @@ -0,0 +1,181 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": null, + "nextControl": { + "x": 2.492313167259787, + "y": 6.891565836298932 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.5341399762731966, + "y": 6.56879003558236 + }, + "prevControl": { + "x": 0.5341399762731968, + "y": 7.881411625143452 + }, + "nextControl": { + "x": 0.5341399762731966, + "y": 5.899554370725603 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.7062870699861263, + "y": 4.944151838666582 + }, + "prevControl": { + "x": 0.23241295545659613, + "y": 4.787437564570203 + }, + "nextControl": { + "x": 2.0727046263325084, + "y": 5.396037959663023 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.7290154211130537, + "y": 6.041589561086512 + }, + "prevControl": { + "x": 2.4159215599025865, + "y": 5.447156064644024 + }, + "nextControl": { + "x": 3.042109282323521, + "y": 6.636023057528999 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": { + "x": 3.428383113987069, + "y": 7.720021902743396 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 1.8741258741258744, + "rotationDegrees": -90.0 + } + ], + "constraintZones": [ + { + "name": "After Depot", + "minWaypointRelativePos": 1.5082690187431023, + "maxWaypointRelativePos": 2.2403528114663795, + "constraints": { + "maxVelocity": 1.0, + "maxAcceleration": 1.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + } + }, + { + "name": "Constraints Zone", + "minWaypointRelativePos": 3.5, + "maxWaypointRelativePos": 3.995589856670343, + "constraints": { + "maxVelocity": 1.0, + "maxAcceleration": 1.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + } + } + ], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Hood Down", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Spindexer", + "waypointRelativePos": 0.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 0.8996692392502725, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Extend Intake", + "waypointRelativePos": 0.9, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Start Intake Seizure", + "waypointRelativePos": 4.0, + "endWaypointRelativePos": null, + "command": null + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.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 -- 2.39.5