From 9b9c7a73165a97cc024729402cc9a7b003398d26 Mon Sep 17 00:00:00 2001 From: Shikhar Date: Mon, 2 Mar 2026 18:57:57 -0700 Subject: [PATCH] paths --- .../pathplanner/autos/TestPlayerStation.auto | 19 +++++ .../paths/HubRight-PlayerStation.path | 81 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 src/main/deploy/pathplanner/autos/TestPlayerStation.auto create mode 100644 src/main/deploy/pathplanner/paths/HubRight-PlayerStation.path diff --git a/src/main/deploy/pathplanner/autos/TestPlayerStation.auto b/src/main/deploy/pathplanner/autos/TestPlayerStation.auto new file mode 100644 index 0000000..e7ef8f5 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/TestPlayerStation.auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "PlayerStation-Shoot" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/HubRight-PlayerStation.path b/src/main/deploy/pathplanner/paths/HubRight-PlayerStation.path new file mode 100644 index 0000000..0379b35 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/HubRight-PlayerStation.path @@ -0,0 +1,81 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.5838333333333345, + "y": 1.5515476190476192 + }, + "prevControl": null, + "nextControl": { + "x": 3.3365992451162603, + "y": 1.5886327322801814 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 1.5754761904761914, + "y": 1.0 + }, + "prevControl": { + "x": 2.2272563574654534, + "y": 0.9727386663284083 + }, + "nextControl": { + "x": 0.9236960234869294, + "y": 1.0272613336715914 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.45, + "y": 1.0 + }, + "prevControl": { + "x": 0.6997421350529089, + "y": 0.9886480847776856 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "pointTowardsZones": [ + { + "fieldPosition": { + "x": 0.0, + "y": 0.7 + }, + "rotationOffset": 180.0, + "minWaypointRelativePos": 0.6, + "maxWaypointRelativePos": 1.0956834532374118, + "name": "Point Towards Zone" + } + ], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 0.5, + "maxAcceleration": 1.0, + "maxAngularVelocity": 500.0, + "maxAngularAcceleration": 750.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": -90.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": false +} \ No newline at end of file