From 4460db3081e760c1382de571b06bcd9644bdfd6f Mon Sep 17 00:00:00 2001 From: eileha Date: Tue, 24 Feb 2026 16:39:16 -0800 Subject: [PATCH] added the named commands --- ...ight to neutral to outpost (diagonal).path | 20 ++++++++- ...full neutral to left climb (diagonal).path | 44 +++++++++++++++++-- .../Left to neutral to depot (diagonal).path | 25 ++++++++++- .../paths/Left to neutral to depot.path | 25 ++++++++++- 4 files changed, 108 insertions(+), 6 deletions(-) diff --git a/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost (diagonal).path b/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost (diagonal).path index e419849..9bdefca 100644 --- a/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost (diagonal).path +++ b/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost (diagonal).path @@ -154,7 +154,25 @@ } ], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Extend intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend intake" + } + } + }, + { + "name": "Intake", + "waypointRelativePos": 0.16197975253094485, + "endWaypointRelativePos": 6.0, + "command": null + } + ], "globalConstraints": { "maxVelocity": 3.0, "maxAcceleration": 3.0, diff --git a/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb (diagonal).path b/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb (diagonal).path index 882c35d..9b6d761 100644 --- a/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb (diagonal).path +++ b/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb (diagonal).path @@ -109,9 +109,13 @@ } ], "rotationTargets": [ + { + "waypointRelativePos": 0.0, + "rotationDegrees": 37.936 + }, { "waypointRelativePos": 0.833037300177617, - "rotationDegrees": 37.93600000000001 + "rotationDegrees": 37.936 }, { "waypointRelativePos": 1.4547069271758435, @@ -140,7 +144,41 @@ ], "constraintZones": [], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Intake fuel", + "waypointRelativePos": 0.0, + "endWaypointRelativePos": 5.318335208099032, + "command": { + "type": "named", + "data": { + "name": "Intake" + } + } + }, + { + "name": "Extend intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend intake" + } + } + }, + { + "name": "Climb", + "waypointRelativePos": 6.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Climb" + } + } + } + ], "globalConstraints": { "maxVelocity": 3.0, "maxAcceleration": 3.0, @@ -157,7 +195,7 @@ "folder": "Left Autos", "idealStartingState": { "velocity": 0.0, - "rotation": 41.309 + "rotation": 0.0 }, "useDefaultConstraints": true } \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Left to neutral to depot (diagonal).path b/src/main/deploy/pathplanner/paths/Left to neutral to depot (diagonal).path index 385742c..6916f65 100644 --- a/src/main/deploy/pathplanner/paths/Left to neutral to depot (diagonal).path +++ b/src/main/deploy/pathplanner/paths/Left to neutral to depot (diagonal).path @@ -217,7 +217,30 @@ } ], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Extend intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend intake" + } + } + }, + { + "name": "Intake fuel", + "waypointRelativePos": 0.32395950506186116, + "endWaypointRelativePos": 8.0, + "command": { + "type": "named", + "data": { + "name": "Intake" + } + } + } + ], "globalConstraints": { "maxVelocity": 3.0, "maxAcceleration": 3.0, diff --git a/src/main/deploy/pathplanner/paths/Left to neutral to depot.path b/src/main/deploy/pathplanner/paths/Left to neutral to depot.path index 348b13b..a82ffcb 100644 --- a/src/main/deploy/pathplanner/paths/Left to neutral to depot.path +++ b/src/main/deploy/pathplanner/paths/Left to neutral to depot.path @@ -217,7 +217,30 @@ } ], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Extend intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend intake" + } + } + }, + { + "name": "Intake", + "waypointRelativePos": 0.48593925759280093, + "endWaypointRelativePos": 8.0, + "command": { + "type": "named", + "data": { + "name": "Intake fuel" + } + } + } + ], "globalConstraints": { "maxVelocity": 3.0, "maxAcceleration": 3.0, -- 2.39.5