From 731b0f74b6b7671df85ebd7fce5a836883cfd710 Mon Sep 17 00:00:00 2001 From: Wesley28w Date: Tue, 21 Apr 2026 06:06:15 -0700 Subject: [PATCH] bringing over eileens autos and shallow --- .../deploy/pathplanner/autos/LeftBump.auto | 19 + .../pathplanner/autos/LeftBumpDepot.auto | 25 ++ .../autos/LeftDoubleSwipe Bump.auto | 127 ++++++ .../autos/LeftShallowDoubleSwipe.auto | 127 ++++++ .../deploy/pathplanner/autos/LoopDepot.auto | 37 ++ .../deploy/pathplanner/autos/New Auto.auto | 25 ++ .../autos/RightShallowDoubleSwipe.auto | 127 ++++++ .../pathplanner/paths/Left Swipe1 Bump.path | 176 ++++++++ .../deploy/pathplanner/paths/Left Swipe1.path | 31 +- .../deploy/pathplanner/paths/Left Swipe3.path | 154 +++++++ .../paths/New - Kousha 0416 #1.path | 377 ++++++++++++++++++ .../paths/New - Kousha 0416 #2 0.5.path | 328 +++++++++++++++ .../paths/New - depot exit to starting.path | 67 ++++ .../pathplanner/paths/Right Swipe1.path | 27 +- .../pathplanner/paths/Right Swipe3.path | 154 +++++++ .../deploy/pathplanner/paths/Test Path.path | 70 ++++ 16 files changed, 1865 insertions(+), 6 deletions(-) create mode 100644 src/main/deploy/pathplanner/autos/LeftBump.auto create mode 100644 src/main/deploy/pathplanner/autos/LeftBumpDepot.auto create mode 100644 src/main/deploy/pathplanner/autos/LeftDoubleSwipe Bump.auto create mode 100644 src/main/deploy/pathplanner/autos/LeftShallowDoubleSwipe.auto create mode 100644 src/main/deploy/pathplanner/autos/LoopDepot.auto create mode 100644 src/main/deploy/pathplanner/autos/New Auto.auto create mode 100644 src/main/deploy/pathplanner/autos/RightShallowDoubleSwipe.auto create mode 100644 src/main/deploy/pathplanner/paths/Left Swipe1 Bump.path create mode 100644 src/main/deploy/pathplanner/paths/Left Swipe3.path create mode 100644 src/main/deploy/pathplanner/paths/New - Kousha 0416 #1.path create mode 100644 src/main/deploy/pathplanner/paths/New - Kousha 0416 #2 0.5.path create mode 100644 src/main/deploy/pathplanner/paths/New - depot exit to starting.path create mode 100644 src/main/deploy/pathplanner/paths/Right Swipe3.path create mode 100644 src/main/deploy/pathplanner/paths/Test Path.path diff --git a/src/main/deploy/pathplanner/autos/LeftBump.auto b/src/main/deploy/pathplanner/autos/LeftBump.auto new file mode 100644 index 0000000..48d2b84 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/LeftBump.auto @@ -0,0 +1,19 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "New - Kousha 0416 #2 0.5" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/LeftBumpDepot.auto b/src/main/deploy/pathplanner/autos/LeftBumpDepot.auto new file mode 100644 index 0000000..dca823e --- /dev/null +++ b/src/main/deploy/pathplanner/autos/LeftBumpDepot.auto @@ -0,0 +1,25 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "New - Kousha 0416 #2 0.5" + } + }, + { + "type": "path", + "data": { + "pathName": "New - Kousha 0416 #1" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/LeftDoubleSwipe Bump.auto b/src/main/deploy/pathplanner/autos/LeftDoubleSwipe Bump.auto new file mode 100644 index 0000000..25b6023 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/LeftDoubleSwipe Bump.auto @@ -0,0 +1,127 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "path", + "data": { + "pathName": "W5 Left Trench Start" + } + }, + { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + }, + { + "type": "path", + "data": { + "pathName": "Left Swipe1 Bump" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.0 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.5 + } + }, + { + "type": "named", + "data": { + "name": "Stop Intake Seizure" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "named", + "data": { + "name": "Stop Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Reset Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "path", + "data": { + "pathName": "Left Swipe2" + } + }, + { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Start Spindexer" + } + }, + { + "type": "wait", + "data": { + "waitTime": 1.5 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 0.5 + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/LeftShallowDoubleSwipe.auto b/src/main/deploy/pathplanner/autos/LeftShallowDoubleSwipe.auto new file mode 100644 index 0000000..e4002fa --- /dev/null +++ b/src/main/deploy/pathplanner/autos/LeftShallowDoubleSwipe.auto @@ -0,0 +1,127 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "path", + "data": { + "pathName": "W5 Left Trench Start" + } + }, + { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + }, + { + "type": "path", + "data": { + "pathName": "Left Swipe3" + } + }, + { + "type": "wait", + "data": { + "waitTime": 1.5 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.5 + } + }, + { + "type": "named", + "data": { + "name": "Stop Intake Seizure" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "named", + "data": { + "name": "Stop Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Reset Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "path", + "data": { + "pathName": "Left Swipe2" + } + }, + { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Start Spindexer" + } + }, + { + "type": "wait", + "data": { + "waitTime": 1.0 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 1.0 + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/LoopDepot.auto b/src/main/deploy/pathplanner/autos/LoopDepot.auto new file mode 100644 index 0000000..fe68f14 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/LoopDepot.auto @@ -0,0 +1,37 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Start Spindexer" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.5 + } + }, + { + "type": "path", + "data": { + "pathName": "New - Kousha 0416 #1" + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/New Auto.auto b/src/main/deploy/pathplanner/autos/New Auto.auto new file mode 100644 index 0000000..d4dfd7b --- /dev/null +++ b/src/main/deploy/pathplanner/autos/New Auto.auto @@ -0,0 +1,25 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + }, + { + "type": "named", + "data": { + "name": null + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/RightShallowDoubleSwipe.auto b/src/main/deploy/pathplanner/autos/RightShallowDoubleSwipe.auto new file mode 100644 index 0000000..6844829 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/RightShallowDoubleSwipe.auto @@ -0,0 +1,127 @@ +{ + "version": "2025.0", + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "path", + "data": { + "pathName": "W5 Right Trench Start" + } + }, + { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + }, + { + "type": "path", + "data": { + "pathName": "Right Swipe3" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.0 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 2.5 + } + }, + { + "type": "named", + "data": { + "name": "Stop Intake Seizure" + } + }, + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, + { + "type": "named", + "data": { + "name": "Stop Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Reset Spindexer" + } + }, + { + "type": "named", + "data": { + "name": "Hood Down" + } + }, + { + "type": "path", + "data": { + "pathName": "Right Swipe2" + } + }, + { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + }, + { + "type": "named", + "data": { + "name": "Start Spindexer" + } + }, + { + "type": "wait", + "data": { + "waitTime": 1.5 + } + }, + { + "type": "named", + "data": { + "name": "Start Intake Seizure" + } + }, + { + "type": "wait", + "data": { + "waitTime": 0.5 + } + } + ] + } + }, + "resetOdom": true, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Left Swipe1 Bump.path b/src/main/deploy/pathplanner/paths/Left Swipe1 Bump.path new file mode 100644 index 0000000..db9a6e4 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Left Swipe1 Bump.path @@ -0,0 +1,176 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.5, + "y": 7.623190984573506 + }, + "prevControl": null, + "nextControl": { + "x": 6.348201219731569, + "y": 7.398522949592349 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.182880794701987, + "y": 6.924453642384106 + }, + "prevControl": { + "x": 8.093113720311207, + "y": 7.15778146403279 + }, + "nextControl": { + "x": 8.386736239095766, + "y": 6.394580667304612 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.983041059705947, + "y": 5.528804199218751 + }, + "prevControl": { + "x": 8.55671378893142, + "y": 5.911793106342707 + }, + "nextControl": { + "x": 7.775118932021209, + "y": 5.389993577078183 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.168639049388745, + "y": 5.528804199218751 + }, + "prevControl": { + "x": 7.41829654935109, + "y": 5.515722428981051 + }, + "nextControl": { + "x": 5.921706780327692, + "y": 5.5941420378508395 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.1743586589671953, + "y": 6.332585504602503 + }, + "prevControl": { + "x": 2.4952956574714373, + "y": 4.763190617315148 + }, + "nextControl": { + "x": 1.9816571767447497, + "y": 7.274903537057722 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623190984573506 + }, + "prevControl": { + "x": 3.405986634610018, + "y": 7.462622847315379 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": 0.0 + }, + { + "waypointRelativePos": 1.15, + "rotationDegrees": -101.33234295737161 + }, + { + "waypointRelativePos": 3.3498920641447336, + "rotationDegrees": 179.39787584122604 + }, + { + "waypointRelativePos": 3.5838863975123343, + "rotationDegrees": 178.04249394992306 + }, + { + "waypointRelativePos": 4.176755447941895, + "rotationDegrees": 49.5862098925657 + } + ], + "constraintZones": [ + { + "name": "Constraints Zone", + "minWaypointRelativePos": 0.7761529808773961, + "maxWaypointRelativePos": 1.642294713160863, + "constraints": { + "maxVelocity": 1.0, + "maxAcceleration": 2.0, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 150.0, + "nominalVoltage": 12.0, + "unlimited": false + } + } + ], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Stop Hood Down", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0.0, + "rotation": 0.0 + }, + "reversed": false, + "folder": "week 5 (new stuff)", + "idealStartingState": { + "velocity": 0.5, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Left Swipe1.path b/src/main/deploy/pathplanner/paths/Left Swipe1.path index 7213bd0..e5b768f 100644 --- a/src/main/deploy/pathplanner/paths/Left Swipe1.path +++ b/src/main/deploy/pathplanner/paths/Left Swipe1.path @@ -4,12 +4,12 @@ { "anchor": { "x": 4.5, - "y": 7.623190984573506 + "y": 7.623 }, "prevControl": null, "nextControl": { "x": 6.341153730575683, - "y": 7.339067227185437 + "y": 7.3388762426119305 }, "isLocked": false, "linkedName": null @@ -110,7 +110,7 @@ { "name": "Constraints Zone", "minWaypointRelativePos": 0.7761529808773961, - "maxWaypointRelativePos": 2.2491730981256937, + "maxWaypointRelativePos": 1.642294713160863, "constraints": { "maxVelocity": 1.0, "maxAcceleration": 2.0, @@ -122,7 +122,30 @@ } ], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Stop Hood Down", + "waypointRelativePos": 4.968503937007888, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + } + ], "globalConstraints": { "maxVelocity": 3.0, "maxAcceleration": 2.5, diff --git a/src/main/deploy/pathplanner/paths/Left Swipe3.path b/src/main/deploy/pathplanner/paths/Left Swipe3.path new file mode 100644 index 0000000..5973e3e --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Left Swipe3.path @@ -0,0 +1,154 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": null, + "nextControl": { + "x": 6.25, + "y": 7.623 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.999810201660737, + "y": 5.890960854092527 + }, + "prevControl": { + "x": 6.114457884162435, + "y": 6.884367069543684 + }, + "nextControl": { + "x": 5.907758101386918, + "y": 5.093342214431054 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.258030842230131, + "y": 4.449228944246738 + }, + "prevControl": { + "x": 5.653713425517404, + "y": 4.619355154982582 + }, + "nextControl": { + "x": 6.687014708632405, + "y": 4.3284622781876605 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.892823250296561, + "y": 5.546666666666668 + }, + "prevControl": { + "x": 6.892823250296561, + "y": 4.907866997335997 + }, + "nextControl": { + "x": 6.892823250296561, + "y": 6.2753696930420535 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.258030842230131, + "y": 6.977639383155397 + }, + "prevControl": { + "x": 6.423269381273585, + "y": 6.7900328128685725 + }, + "nextControl": { + "x": 6.092792303186677, + "y": 7.165245953442221 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.0, + "y": 7.5 + }, + "prevControl": { + "x": 5.5, + "y": 7.5 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.2433392539964518, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 3.0373001776198882, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 4.129662522202486, + "rotationDegrees": 0.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Stop Hood Down", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + } + ], + "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": "week 5 (new stuff)", + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/New - Kousha 0416 #1.path b/src/main/deploy/pathplanner/paths/New - Kousha 0416 #1.path new file mode 100644 index 0000000..9c08092 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/New - Kousha 0416 #1.path @@ -0,0 +1,377 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.4, + "y": 7.623 + }, + "prevControl": null, + "nextControl": { + "x": 4.649689734980109, + "y": 7.635451355169741 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.852442052980133, + "y": 7.468948675496688 + }, + "prevControl": { + "x": 5.620124172185431, + "y": 7.599627483443708 + }, + "nextControl": { + "x": 6.07033593726127, + "y": 7.346383365588548 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.993052083333334, + "y": 6.644330873842592 + }, + "prevControl": { + "x": 6.002728406424771, + "y": 6.894143541198413 + }, + "nextControl": { + "x": 5.96856842368264, + "y": 6.012238676612816 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.993052083333334, + "y": 4.640374290829613 + }, + "prevControl": { + "x": 5.77132848576112, + "y": 4.980825878341205 + }, + "nextControl": { + "x": 6.258514999588687, + "y": 4.2327619651494075 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.9488311476934514, + "y": 4.5376008533296135 + }, + "prevControl": { + "x": 6.714643852212108, + "y": 4.306406270895929 + }, + "nextControl": { + "x": 7.126740955423579, + "y": 4.71323712610215 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.069917751736111, + "y": 5.2388220486111114 + }, + "prevControl": { + "x": 7.180039999523313, + "y": 5.014382545532232 + }, + "nextControl": { + "x": 6.935152848707392, + "y": 5.513485601853203 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.309817880794702, + "y": 5.501506622516556 + }, + "prevControl": { + "x": 6.672312380421229, + "y": 5.595486677975285 + }, + "nextControl": { + "x": 6.067818656253252, + "y": 5.438766082820624 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.3913245033112585, + "y": 5.385347682119204 + }, + "prevControl": { + "x": 3.6817218543046355, + "y": 5.37808774834437 + }, + "nextControl": { + "x": 3.002075275595232, + "y": 5.395078912812104 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 1.7994537062872022, + "y": 5.001661667596727 + }, + "prevControl": { + "x": 2.2296859422923645, + "y": 5.208439382934831 + }, + "nextControl": { + "x": 1.3440231788079464, + "y": 4.782773178807946 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.5454304635761584, + "y": 4.760993377483443 + }, + "prevControl": { + "x": 0.7366582631054183, + "y": 4.599959441037751 + }, + "nextControl": { + "x": 0.35420266404689527, + "y": 4.922027313929137 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 0.4437913907284766, + "y": 6.968013245033112 + }, + "prevControl": { + "x": 0.4437913907284766, + "y": 6.718013245033112 + }, + "nextControl": { + "x": 0.4437913907284766, + "y": 7.218013245033112 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": { + "x": 4.081018211920529, + "y": 7.4834685430463574 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.5, + "rotationDegrees": 0.0 + }, + { + "waypointRelativePos": 1.658595641646543, + "rotationDegrees": -89.54489461997562 + }, + { + "waypointRelativePos": 2.6465364120781536, + "rotationDegrees": -89.07124990057926 + }, + { + "waypointRelativePos": 4.261501210653795, + "rotationDegrees": 67.25186374927067 + }, + { + "waypointRelativePos": 6.219128329297827, + "rotationDegrees": 89.24946813432852 + }, + { + "waypointRelativePos": 6.50258863926749, + "rotationDegrees": 89.03627314363375 + }, + { + "waypointRelativePos": 9.77481840193705, + "rotationDegrees": 90.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Hood Down", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Hood Down" + } + } + }, + { + "name": "Extend Intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend Intake" + } + } + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 1.3498312710910954, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + } + }, + { + "name": "Stop Intake Rollers", + "waypointRelativePos": 6.209223847019097, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Intake Rollers" + } + } + }, + { + "name": "Retract Intake", + "waypointRelativePos": 6.25, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Retract Intake" + } + } + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 6.8841394825646685, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 6.884139482564717, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + }, + { + "name": "Extend Intake", + "waypointRelativePos": 8.691166077738544, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Extend Intake" + } + } + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 8.73780918727915, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + } + }, + { + "name": "Stop Spindexer", + "waypointRelativePos": 9.126501766784463, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Hood Down", + "waypointRelativePos": 9.219787985865741, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 9.82614840989399, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 9.83, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": -0.19252622320957904 + }, + "reversed": false, + "folder": null, + "idealStartingState": { + "velocity": 0, + "rotation": 0.20559776060051335 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/New - Kousha 0416 #2 0.5.path b/src/main/deploy/pathplanner/paths/New - Kousha 0416 #2 0.5.path new file mode 100644 index 0000000..9ec00d4 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/New - Kousha 0416 #2 0.5.path @@ -0,0 +1,328 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.4, + "y": 7.623 + }, + "prevControl": null, + "nextControl": { + "x": 5.4156465005931205, + "y": 7.580154211150653 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.827663107947806, + "y": 7.504839857651245 + }, + "prevControl": { + "x": 5.5797516965844745, + "y": 7.537087836128061 + }, + "nextControl": { + "x": 6.089809247306431, + "y": 7.4707402451593135 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.087238932291667, + "y": 7.2053665364583335 + }, + "prevControl": { + "x": 6.795990510083039, + "y": 7.429525504151838 + }, + "nextControl": { + "x": 7.827939446866852, + "y": 6.6352873529965715 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.830212601273148, + "y": 6.273040870949074 + }, + "prevControl": { + "x": 7.696276229545007, + "y": 6.484135750868747 + }, + "nextControl": { + "x": 8.052156231843401, + "y": 5.923239219316608 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.830212601273148, + "y": 5.568185053380782 + }, + "prevControl": { + "x": 8.028429824610942, + "y": 5.720533116618405 + }, + "nextControl": { + "x": 7.631995377935355, + "y": 5.41583699014316 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.742194543297748, + "y": 5.568185053380782 + }, + "prevControl": { + "x": 6.991936212700865, + "y": 5.579547208270771 + }, + "nextControl": { + "x": 6.37612481071697, + "y": 5.551530479828598 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.526405693950179, + "y": 5.568185053380782 + }, + "prevControl": { + "x": 5.9940016886817045, + "y": 5.551617678371244 + }, + "nextControl": { + "x": 5.219470974518611, + "y": 5.579060045163357 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.439122182680902, + "y": 5.568185053380782 + }, + "prevControl": { + "x": 4.762502965599051, + "y": 5.546666666666668 + }, + "nextControl": { + "x": 2.5231053186257717, + "y": 5.583079636536149 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.7081951678240745, + "y": 6.473218605324075 + }, + "prevControl": { + "x": 2.6571916654866383, + "y": 6.228476613117353 + }, + "nextControl": { + "x": 2.7591986701615108, + "y": 6.717960597530796 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.9613862123842596, + "y": 7.2053665364583335 + }, + "prevControl": { + "x": 2.793264485781677, + "y": 7.020339281589851 + }, + "nextControl": { + "x": 3.1733449921664065, + "y": 7.438638891917008 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 3.664271846064816, + "y": 7.612545500578703 + }, + "prevControl": { + "x": 3.3162524646476355, + "y": 7.610200053100003 + }, + "nextControl": { + "x": 4.114582849281393, + "y": 7.615580333876848 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.4, + "y": 7.623 + }, + "prevControl": { + "x": 4.150105477767021, + "y": 7.630261388155952 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.48390501725838, + "rotationDegrees": -20.130704916602326 + }, + { + "waypointRelativePos": 1.975121733234714, + "rotationDegrees": -49.65081094572614 + }, + { + "waypointRelativePos": 2.53049494575937, + "rotationDegrees": -89.0834827186487 + }, + { + "waypointRelativePos": 5.3924509985207205, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 6.970938116370813, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 7.622418947238659, + "rotationDegrees": 35.39060987236753 + }, + { + "waypointRelativePos": 9.512704943293905, + "rotationDegrees": 0.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Hood Down", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Extend Intake", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Spin Intake Rollers", + "waypointRelativePos": 0.6929133858268031, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Spin Intake Rollers" + } + } + }, + { + "name": "Retract Intake", + "waypointRelativePos": 5.54, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "Stop Intake Rollers", + "waypointRelativePos": 5.543307086614183, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Intake Rollers" + } + } + }, + { + "name": "Stop Hood Down", + "waypointRelativePos": 6.934275618374536, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 6.94982332155476, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + }, + { + "name": "Hood Down", + "waypointRelativePos": 9.676040494938205, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Hood Down" + } + } + }, + { + "name": "Stop Spindexer", + "waypointRelativePos": 9.68, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Spindexer" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 1.0194290739247367 + }, + "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/New - depot exit to starting.path b/src/main/deploy/pathplanner/paths/New - depot exit to starting.path new file mode 100644 index 0000000..2c10a4a --- /dev/null +++ b/src/main/deploy/pathplanner/paths/New - depot exit to starting.path @@ -0,0 +1,67 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 0.4583112582781458, + "y": 6.975273178807948 + }, + "prevControl": null, + "nextControl": { + "x": 0.42180298013245043, + "y": 7.746221854304635 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.5, + "y": 7.623 + }, + "prevControl": { + "x": 4.088447458765173, + "y": 7.570432330258617 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "", + "waypointRelativePos": 0, + "endWaypointRelativePos": null, + "command": null + }, + { + "name": "", + "waypointRelativePos": 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": 90.87947248129271 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Right Swipe1.path b/src/main/deploy/pathplanner/paths/Right Swipe1.path index 44a9f20..3dbe18a 100644 --- a/src/main/deploy/pathplanner/paths/Right Swipe1.path +++ b/src/main/deploy/pathplanner/paths/Right Swipe1.path @@ -110,7 +110,7 @@ { "name": "Constraints Zone", "minWaypointRelativePos": 0.7761529808773961, - "maxWaypointRelativePos": 2.2491730981256826, + "maxWaypointRelativePos": 1.642294713160863, "constraints": { "maxVelocity": 1, "maxAcceleration": 2, @@ -122,7 +122,30 @@ } ], "pointTowardsZones": [], - "eventMarkers": [], + "eventMarkers": [ + { + "name": "Stop Hood Down", + "waypointRelativePos": 4.968503937007888, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 5, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + } + ], "globalConstraints": { "maxVelocity": 3, "maxAcceleration": 2.5, diff --git a/src/main/deploy/pathplanner/paths/Right Swipe3.path b/src/main/deploy/pathplanner/paths/Right Swipe3.path new file mode 100644 index 0000000..ea12079 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Right Swipe3.path @@ -0,0 +1,154 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.5, + "y": 0.448 + }, + "prevControl": null, + "nextControl": { + "x": 6.25, + "y": 0.448 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.902977461447213, + "y": 2.37270462633452 + }, + "prevControl": { + "x": 6.01762514394891, + "y": 1.379298410883363 + }, + "nextControl": { + "x": 5.8109253611733935, + "y": 3.170323265995992 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.258030842230131, + "y": 3.6220970557532612 + }, + "prevControl": { + "x": 5.653713425517404, + "y": 3.451970845017417 + }, + "nextControl": { + "x": 6.687014708632405, + "y": 3.7428637218123386 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.892823250296561, + "y": 2.524659333333331 + }, + "prevControl": { + "x": 6.892823250296561, + "y": 3.163459002664002 + }, + "nextControl": { + "x": 6.892823250296561, + "y": 1.7959563069579454 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 6.258030842230131, + "y": 1.093686616844602 + }, + "prevControl": { + "x": 6.423269381273585, + "y": 1.281293187131427 + }, + "nextControl": { + "x": 6.092792303186677, + "y": 0.9060800465577783 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4, + "y": 0.571325999999999 + }, + "prevControl": { + "x": 5.5, + "y": 0.571325999999999 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.2433392539964518, + "rotationDegrees": 90.0 + }, + { + "waypointRelativePos": 3.0373001776198882, + "rotationDegrees": -90.0 + }, + { + "waypointRelativePos": 4.129662522202486, + "rotationDegrees": 0.0 + } + ], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [ + { + "name": "Stop Hood Down", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Stop Hood Down" + } + } + }, + { + "name": "Start Spindexer", + "waypointRelativePos": 5.0, + "endWaypointRelativePos": null, + "command": { + "type": "named", + "data": { + "name": "Start Spindexer" + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200, + "maxAngularAcceleration": 300, + "nominalVoltage": 12, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": 0.0 + }, + "reversed": false, + "folder": "week 5 (new stuff)", + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/Test Path.path b/src/main/deploy/pathplanner/paths/Test Path.path new file mode 100644 index 0000000..2b9ed07 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/Test Path.path @@ -0,0 +1,70 @@ +{ + "version": "2025.0", + "waypoints": [ + { + "anchor": { + "x": 4.42896797153025, + "y": 7.655468564650059 + }, + "prevControl": null, + "nextControl": { + "x": 6.801595217095044, + "y": 6.510923411540405 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.194685646500595, + "y": 5.772609727164888 + }, + "prevControl": { + "x": 9.176240918430604, + "y": 6.710214763038332 + }, + "nextControl": { + "x": 7.473819691577701, + "y": 5.084021352313167 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 1.965112692763939, + "y": 5.353001186239621 + }, + "prevControl": { + "x": 4.500675461892897, + "y": 5.5286443358904505 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "pointTowardsZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 2.5, + "maxAngularVelocity": 200.0, + "maxAngularAcceleration": 300.0, + "nominalVoltage": 12.0, + "unlimited": false + }, + "goalEndState": { + "velocity": 0, + "rotation": -46.123302714075294 + }, + "reversed": false, + "folder": "week 5 (new stuff)", + "idealStartingState": { + "velocity": 0, + "rotation": 0.0 + }, + "useDefaultConstraints": true +} \ No newline at end of file -- 2.39.5