From f57b733479b5559e6c4a853debc94bc69f85b42c Mon Sep 17 00:00:00 2001 From: Jestin VanScoyoc <31118852+JediScoy@users.noreply.github.com> Date: Mon, 25 Mar 2024 09:26:55 -0400 Subject: [PATCH] Add Experimental folder to pathFolders and update folder names in autos and paths --- .pathplanner/settings.json | 4 +- .../pathplanner/autos/Start1.0-3 Quick.auto | 56 +++++++++++++++ .../deploy/pathplanner/autos/Start2.0-2.auto | 2 +- .../deploy/pathplanner/paths/N3-N3Quick.path | 70 +++++++++++++++++++ .../pathplanner/paths/N8-Bulldozer.path | 2 +- .../pathplanner/paths/PoseC-N8Bulldoze.path | 2 +- 6 files changed, 132 insertions(+), 4 deletions(-) create mode 100644 src/main/deploy/pathplanner/autos/Start1.0-3 Quick.auto create mode 100644 src/main/deploy/pathplanner/paths/N3-N3Quick.path diff --git a/.pathplanner/settings.json b/.pathplanner/settings.json index 5b6fbb3..e7441eb 100644 --- a/.pathplanner/settings.json +++ b/.pathplanner/settings.json @@ -2,7 +2,9 @@ "robotWidth": 0.9, "robotLength": 0.9, "holonomicMode": true, - "pathFolders": [], + "pathFolders": [ + "Experimental" + ], "autoFolders": [ "Start Position 3", "Start Position 1", diff --git a/src/main/deploy/pathplanner/autos/Start1.0-3 Quick.auto b/src/main/deploy/pathplanner/autos/Start1.0-3 Quick.auto new file mode 100644 index 0000000..a67ba7a --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Start1.0-3 Quick.auto @@ -0,0 +1,56 @@ +{ + "version": 1.0, + "startingPose": { + "position": { + "x": 0.45, + "y": 7.0 + }, + "rotation": 180.0 + }, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "S1-PoseA" + } + }, + { + "type": "named", + "data": { + "name": "ShootClose" + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Intake" + } + }, + { + "type": "path", + "data": { + "pathName": "PoseA-N3" + } + } + ] + } + }, + { + "type": "path", + "data": { + "pathName": "N3-N3Quick" + } + } + ] + } + }, + "folder": "Start Position 1", + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/Start2.0-2.auto b/src/main/deploy/pathplanner/autos/Start2.0-2.auto index 9bc21b1..71f18e1 100644 --- a/src/main/deploy/pathplanner/autos/Start2.0-2.auto +++ b/src/main/deploy/pathplanner/autos/Start2.0-2.auto @@ -57,6 +57,6 @@ ] } }, - "folder": "Start Position 1", + "folder": "Start Position 2", "choreoAuto": false } \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/N3-N3Quick.path b/src/main/deploy/pathplanner/paths/N3-N3Quick.path new file mode 100644 index 0000000..fe499fd --- /dev/null +++ b/src/main/deploy/pathplanner/paths/N3-N3Quick.path @@ -0,0 +1,70 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 3.1, + "y": 7.15 + }, + "prevControl": null, + "nextControl": { + "x": 3.0500000000000003, + "y": 7.15 + }, + "isLocked": false, + "linkedName": "NotePose3" + }, + { + "anchor": { + "x": 3.1, + "y": 6.75 + }, + "prevControl": { + "x": 3.15, + "y": 6.75 + }, + "nextControl": null, + "isLocked": false, + "linkedName": "N3Quick" + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [ + { + "name": "Shoot", + "waypointRelativePos": 1.0, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "ShootFromStage" + } + } + ] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 4.0, + "maxAcceleration": 4.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -160.0, + "rotateFast": false + }, + "reversed": false, + "folder": "Experimental", + "previewStartingState": { + "rotation": 180.0, + "velocity": 0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/N8-Bulldozer.path b/src/main/deploy/pathplanner/paths/N8-Bulldozer.path index f107bc1..1693df9 100644 --- a/src/main/deploy/pathplanner/paths/N8-Bulldozer.path +++ b/src/main/deploy/pathplanner/paths/N8-Bulldozer.path @@ -49,7 +49,7 @@ "rotateFast": false }, "reversed": false, - "folder": null, + "folder": "Experimental", "previewStartingState": { "rotation": 179.6966424394063, "velocity": 0 diff --git a/src/main/deploy/pathplanner/paths/PoseC-N8Bulldoze.path b/src/main/deploy/pathplanner/paths/PoseC-N8Bulldoze.path index 837049e..27fb9f4 100644 --- a/src/main/deploy/pathplanner/paths/PoseC-N8Bulldoze.path +++ b/src/main/deploy/pathplanner/paths/PoseC-N8Bulldoze.path @@ -43,7 +43,7 @@ "rotateFast": true }, "reversed": false, - "folder": null, + "folder": "Experimental", "previewStartingState": { "rotation": 122.0, "velocity": 0