From 20e0459ebed007071c6b3adf873af82cec3b99e7 Mon Sep 17 00:00:00 2001 From: TheRealGreydon Date: Sat, 17 Oct 2026 00:02:48 -0400 Subject: [PATCH] PADR --- src/main/deploy/pathplanner/autos/PADR.auto | 4 +- .../deploy/pathplanner/paths/PADL Path 2.path | 2 +- .../deploy/pathplanner/paths/PADR 1 Path.path | 54 +++++++++++ .../deploy/pathplanner/paths/PADR 2 Path.path | 89 +++++++++++++++++++ 4 files changed, 146 insertions(+), 3 deletions(-) create mode 100644 src/main/deploy/pathplanner/paths/PADR 1 Path.path create mode 100644 src/main/deploy/pathplanner/paths/PADR 2 Path.path diff --git a/src/main/deploy/pathplanner/autos/PADR.auto b/src/main/deploy/pathplanner/autos/PADR.auto index 0500833..15fd5ea 100644 --- a/src/main/deploy/pathplanner/autos/PADR.auto +++ b/src/main/deploy/pathplanner/autos/PADR.auto @@ -7,7 +7,7 @@ { "type": "path", "data": { - "pathName": "PADC Path 1" + "pathName": "PADR 1 Path" } }, { @@ -107,7 +107,7 @@ { "type": "path", "data": { - "pathName": "PADC Path 2" + "pathName": "PADR 2 Path" } } ] diff --git a/src/main/deploy/pathplanner/paths/PADL Path 2.path b/src/main/deploy/pathplanner/paths/PADL Path 2.path index 5d4a931..816610f 100644 --- a/src/main/deploy/pathplanner/paths/PADL Path 2.path +++ b/src/main/deploy/pathplanner/paths/PADL Path 2.path @@ -37,7 +37,7 @@ "constraintZones": [ { "name": "Constraints Zone", - "minWaypointRelativePos": 0.5429280397022286, + "minWaypointRelativePos": 0.533002481389581, "maxWaypointRelativePos": 1.0, "constraints": { "maxVelocity": 0.2, diff --git a/src/main/deploy/pathplanner/paths/PADR 1 Path.path b/src/main/deploy/pathplanner/paths/PADR 1 Path.path new file mode 100644 index 0000000..46aed95 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/PADR 1 Path.path @@ -0,0 +1,54 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 3.6316444444444445, + "y": 0.6439333333333332 + }, + "prevControl": null, + "nextControl": { + "x": 3.1883022606940363, + "y": 1.6320314631711343 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.94, + "y": 2.875 + }, + "prevControl": { + "x": 2.9895607801394237, + "y": 0.8586279128588208 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 360.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": -148.815 + }, + "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/PADR 2 Path.path b/src/main/deploy/pathplanner/paths/PADR 2 Path.path new file mode 100644 index 0000000..a5f1103 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/PADR 2 Path.path @@ -0,0 +1,89 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 2.94, + "y": 2.875 + }, + "prevControl": null, + "nextControl": { + "x": 2.7505815292423987, + "y": 3.166194982523733 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.530522222222223, + "y": 4.239633333333333 + }, + "prevControl": { + "x": 2.819700280748076, + "y": 3.772083762071907 + }, + "nextControl": { + "x": 1.487866666666667, + "y": 5.925422222222221 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.552, + "y": 5.9643999999999995 + }, + "prevControl": { + "x": 1.8873888888888894, + "y": 5.905933333333333 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.0, + "rotationDegrees": 180.0 + } + ], + "constraintZones": [ + { + "name": "Constraints Zone", + "minWaypointRelativePos": 1.7131513647642658, + "maxWaypointRelativePos": 2.0, + "constraints": { + "maxVelocity": 0.2, + "maxAcceleration": 0.1, + "maxAngularVelocity": 360.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + } + } + ], + "pointTowardsZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 360.0, + "maxAngularAcceleration": 720.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": -148.815 + }, + "useDefaultConstraints": true +} \ No newline at end of file