diff --git a/.pathplanner/settings.json b/.pathplanner/settings.json index 2aaab01..70c55ea 100644 --- a/.pathplanner/settings.json +++ b/.pathplanner/settings.json @@ -2,7 +2,9 @@ "robotWidth": 0.9, "robotLength": 0.9, "holonomicMode": true, - "pathFolders": [], + "pathFolders": [ + "New Folder" + ], "autoFolders": [], "defaultMaxVel": 3.0, "defaultMaxAccel": 3.0, diff --git a/src/main/deploy/pathplanner/paths/BL Path.path b/src/main/deploy/pathplanner/paths/BL Path.path new file mode 100644 index 0000000..52f461a --- /dev/null +++ b/src/main/deploy/pathplanner/paths/BL Path.path @@ -0,0 +1,130 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 0.9768671894476314, + "y": 6.963795382379539 + }, + "prevControl": null, + "nextControl": { + "x": 0.9957017800320328, + "y": 6.94664535958123 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.682149452840573, + "y": 7.12696370376103 + }, + "prevControl": { + "x": 2.689912568446376, + "y": 7.126964631641936 + }, + "nextControl": { + "x": 2.67438633723477, + "y": 7.1269627758801235 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.289357896858155, + "y": 7.4351908948681915 + }, + "prevControl": { + "x": 7.412776437653603, + "y": 7.323945067406474 + }, + "nextControl": { + "x": 8.322657686837363, + "y": 7.4394169284577 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.682149452840573, + "y": 7.12696370376103 + }, + "prevControl": { + "x": 2.687481984411307, + "y": 7.110049826653473 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.85, + "rotationDegrees": -89.4767832055039, + "rotateFast": false + }, + { + "waypointRelativePos": 1.9, + "rotationDegrees": 0, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "DUMP", + "waypointRelativePos": 0.95, + "command": { + "type": "parallel", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 10.0 + } + } + ] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 2.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 3.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -89.6793498452957, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BMS Path.path b/src/main/deploy/pathplanner/paths/BMS Path.path new file mode 100644 index 0000000..5954cf0 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/BMS Path.path @@ -0,0 +1,143 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 1.2351646450254707, + "y": 4.245426300459083 + }, + "prevControl": null, + "nextControl": { + "x": 1.2534448267681257, + "y": 4.2320750220927525 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.5359998591090935, + "y": 5.554813792859646 + }, + "prevControl": { + "x": 2.544725287549536, + "y": 5.534438486937588 + }, + "nextControl": { + "x": 2.527274430668651, + "y": 5.575189098781704 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.6754714939551407, + "y": 4.478771646634729 + }, + "prevControl": { + "x": 2.6862093957477846, + "y": 4.500538804824717 + }, + "nextControl": { + "x": 2.674023798237698, + "y": 4.475836974451926 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.5359998591090935, + "y": 7.210723977148185 + }, + "prevControl": { + "x": 2.619182551715437, + "y": 5.145783947479171 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.9, + "rotationDegrees": 0, + "rotateFast": false + }, + { + "waypointRelativePos": 1.9, + "rotationDegrees": -56.51419641308341, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "SHOOT", + "waypointRelativePos": 1.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 1.15, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SHOOT", + "waypointRelativePos": 1.15, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 2.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 3.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -89.23413306155851, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BR Path.path b/src/main/deploy/pathplanner/paths/BR Path.path new file mode 100644 index 0000000..d9c396f --- /dev/null +++ b/src/main/deploy/pathplanner/paths/BR Path.path @@ -0,0 +1,149 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 1.107671952684762, + "y": 2.4888707299839377 + }, + "prevControl": null, + "nextControl": { + "x": 1.1278060404789791, + "y": 2.4858374872999747 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.132296423664028, + "y": 0.7546028588874307 + }, + "prevControl": { + "x": 8.143311036862226, + "y": 0.7414691727524798 + }, + "nextControl": { + "x": 8.127372159692236, + "y": 0.7604744892649515 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.077821518634936, + "y": 2.4888707299839377 + }, + "prevControl": { + "x": 4.102124575342902, + "y": 2.4781954601524956 + }, + "nextControl": { + "x": 4.05351846192697, + "y": 2.4995459998153797 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.85424206388054, + "y": 2.364017858822755 + }, + "prevControl": { + "x": 6.1573277407348606, + "y": 0.5103986326774224 + }, + "nextControl": { + "x": 8.296866309155071, + "y": 2.847517113798695 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.077821518634936, + "y": 2.4888707299839377 + }, + "prevControl": { + "x": 7.949753485010445, + "y": -0.9398236618377163 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.1500000000000001, + "rotationDegrees": -8.347973957817544, + "rotateFast": false + }, + { + "waypointRelativePos": 1.5, + "rotationDegrees": -21.34372369731459, + "rotateFast": false + }, + { + "waypointRelativePos": 2.0, + "rotationDegrees": -30.94563386049108, + "rotateFast": false + }, + { + "waypointRelativePos": 3.0, + "rotationDegrees": 6.2824899769979226, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "SUCK", + "waypointRelativePos": 1.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 2.05, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 3.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -28.78265773519998, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RL Path.path b/src/main/deploy/pathplanner/paths/RL Path.path new file mode 100644 index 0000000..62197ed --- /dev/null +++ b/src/main/deploy/pathplanner/paths/RL Path.path @@ -0,0 +1,174 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 15.541771563143822, + "y": 2.430613727257548 + }, + "prevControl": null, + "nextControl": { + "x": 15.5446962437617, + "y": 2.4068975552230634 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.764251056422667, + "y": 0.7885902086146953 + }, + "prevControl": { + "x": 8.778645101067278, + "y": 0.777772446853647 + }, + "nextControl": { + "x": 8.749857011778056, + "y": 0.7994079703757436 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 12.81450131968361, + "y": 2.531603357256733 + }, + "prevControl": { + "x": 12.509733268596582, + "y": 1.30174639313019 + }, + "nextControl": { + "x": 12.81645808941861, + "y": 2.5394996799756004 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.764251056422667, + "y": 2.430613727257548 + }, + "prevControl": { + "x": 11.312199035854505, + "y": 0.43305686524187537 + }, + "nextControl": { + "x": 8.579195135364564, + "y": 2.575695074267103 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.016841975522329, + "y": 2.8583835270931157 + }, + "prevControl": { + "x": 12.511861827396526, + "y": 0.6159134276419227 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.0, + "rotationDegrees": -179.27908921595682, + "rotateFast": false + }, + { + "waypointRelativePos": 1.0, + "rotationDegrees": -173.12026690331754, + "rotateFast": false + }, + { + "waypointRelativePos": 2.0, + "rotationDegrees": -153.1337761657031, + "rotateFast": false + }, + { + "waypointRelativePos": 3.0, + "rotationDegrees": 179.9681226505627, + "rotateFast": false + }, + { + "waypointRelativePos": 3.6, + "rotationDegrees": -92.59528426053396, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "DUMP", + "waypointRelativePos": 0.35, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 1.05, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 2.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 3.05, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "END", + "waypointRelativePos": 4.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -92.40840760476861, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RMS Path.path b/src/main/deploy/pathplanner/paths/RMS Path.path new file mode 100644 index 0000000..5e9e039 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/RMS Path.path @@ -0,0 +1,138 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 15.440278093808505, + "y": 3.9959636629342707 + }, + "prevControl": null, + "nextControl": { + "x": 15.431646945614494, + "y": 3.998823391888682 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.083202162208723, + "y": 5.513649748255806 + }, + "prevControl": { + "x": 14.102344345313691, + "y": 5.510352059513438 + }, + "nextControl": { + "x": 14.064059979103755, + "y": 5.516947436998174 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.287688556424566, + "y": 3.3918268997562304 + }, + "prevControl": { + "x": 14.990986336495167, + "y": 3.4147635977041078 + }, + "nextControl": { + "x": 13.720172468990771, + "y": 3.37331845931053 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.083202162208723, + "y": 5.513649748255806 + }, + "prevControl": { + "x": 14.342787980425497, + "y": 4.5683557645327095 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.0, + "rotationDegrees": 179.50008506965295, + "rotateFast": false + }, + { + "waypointRelativePos": 2.3000000000000003, + "rotationDegrees": 130.17140553231616, + "rotateFast": false + }, + { + "waypointRelativePos": 2.35, + "rotationDegrees": -175.73440330027438, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "SUCK", + "waypointRelativePos": 1.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SHOOT", + "waypointRelativePos": 1.0999999999999999, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 2.25, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SHOOT", + "waypointRelativePos": 3.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 178.54289122634376, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RR Path.path b/src/main/deploy/pathplanner/paths/RR Path.path new file mode 100644 index 0000000..bc02da2 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/RR Path.path @@ -0,0 +1,159 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 15.66262990699729, + "y": 7.053879628082199 + }, + "prevControl": null, + "nextControl": { + "x": 15.67793066314857, + "y": 7.0257277213732925 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.078577603766352, + "y": 6.953538586837812 + }, + "prevControl": { + "x": 14.101505128134388, + "y": 6.942041679898264 + }, + "nextControl": { + "x": 14.06381501854095, + "y": 6.9609412207113674 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.078577603766352, + "y": 7.053879628082199 + }, + "prevControl": { + "x": 14.092380760134239, + "y": 7.041158844791963 + }, + "nextControl": { + "x": 14.064774447398465, + "y": 7.066600411372435 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.89520288878197, + "y": 7.3965339844750195 + }, + "prevControl": { + "x": 8.88347015500255, + "y": 7.419864480151842 + }, + "nextControl": { + "x": 9.724449127207897, + "y": 5.747581051224825 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 14.078577603766352, + "y": 7.053879628082199 + }, + "prevControl": { + "x": 14.114679594083759, + "y": 7.052137067739439 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 0.8999999999999999, + "rotationDegrees": 179.87414120578404, + "rotateFast": false + }, + { + "waypointRelativePos": 2.0, + "rotationDegrees": -90.16470187578516, + "rotateFast": false + }, + { + "waypointRelativePos": 3.0, + "rotationDegrees": -179.5047311187391, + "rotateFast": false + }, + { + "waypointRelativePos": 4.0, + "rotationDegrees": -90.45212928881924, + "rotateFast": false + } + ], + "constraintZones": [], + "eventMarkers": [ + { + "name": "SUCK", + "waypointRelativePos": 0.95, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 2.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "SUCK", + "waypointRelativePos": 3.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + }, + { + "name": "DUMP", + "waypointRelativePos": 4.0, + "command": { + "type": "parallel", + "data": { + "commands": [] + } + } + } + ], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -89.61755681902692, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file