diff --git a/src/main/deploy/pathplanner/autos/FleeAmp.auto b/src/main/deploy/pathplanner/autos/FleeAmp.auto new file mode 100644 index 00000000..565917d4 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/FleeAmp.auto @@ -0,0 +1,31 @@ +{ + "version": 1.0, + "startingPose": { + "position": { + "x": 1.1333456901148034, + "y": 6.915037974220092 + }, + "rotation": 0 + }, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "initalShotBlueAmp" + } + }, + { + "type": "path", + "data": { + "pathName": "FleePathAmp+Mid" + } + } + ] + } + }, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/FleeMid.auto b/src/main/deploy/pathplanner/autos/FleeMid.auto new file mode 100644 index 00000000..4719e75b --- /dev/null +++ b/src/main/deploy/pathplanner/autos/FleeMid.auto @@ -0,0 +1,31 @@ +{ + "version": 1.0, + "startingPose": { + "position": { + "x": 1.3552185662929883, + "y": 4.779511541005064 + }, + "rotation": 179.80105712063937 + }, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "initalShotBlueMiddle" + } + }, + { + "type": "path", + "data": { + "pathName": "FleePathAmp+Mid" + } + } + ] + } + }, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/FleeSource.auto b/src/main/deploy/pathplanner/autos/FleeSource.auto new file mode 100644 index 00000000..0b2b62e2 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/FleeSource.auto @@ -0,0 +1,31 @@ +{ + "version": 1.0, + "startingPose": { + "position": { + "x": 1.28, + "y": 2.87 + }, + "rotation": 0 + }, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "initalShotBlueSource" + } + }, + { + "type": "path", + "data": { + "pathName": "FleePathSource" + } + } + ] + } + }, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/FleePathAmp+Mid.path b/src/main/deploy/pathplanner/paths/FleePathAmp+Mid.path new file mode 100644 index 00000000..b393bd01 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/FleePathAmp+Mid.path @@ -0,0 +1,49 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 3.3937941380156262, + "y": 6.677362186633205 + }, + "prevControl": null, + "nextControl": { + "x": 4.259161566756181, + "y": 7.156822518773243 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 5.147917304381616, + "y": 7.507647152046441 + }, + "prevControl": { + "x": 3.463959064670265, + "y": 6.501949869996606 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 5.0, + "maxAcceleration": 4.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 0, + "rotateFast": false + }, + "reversed": false, + "folder": "Initial Shots", + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/FleePathSource.path b/src/main/deploy/pathplanner/paths/FleePathSource.path new file mode 100644 index 00000000..f41d034b --- /dev/null +++ b/src/main/deploy/pathplanner/paths/FleePathSource.path @@ -0,0 +1,49 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 2.29, + "y": 3.54 + }, + "prevControl": null, + "nextControl": { + "x": 3.29, + "y": 3.04 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 4.42287972895034, + "y": 0.5964018765644384 + }, + "prevControl": { + "x": 3.873254470155663, + "y": 1.7658173208084325 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 5.0, + "maxAcceleration": 4.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 0, + "rotateFast": false + }, + "reversed": false, + "folder": "Initial Shots", + "previewStartingState": null, + "useDefaultConstraints": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/initalShotBlueMiddle.path b/src/main/deploy/pathplanner/paths/initalShotBlueMiddle.path index db09a6fd..2f2cdda6 100644 --- a/src/main/deploy/pathplanner/paths/initalShotBlueMiddle.path +++ b/src/main/deploy/pathplanner/paths/initalShotBlueMiddle.path @@ -17,11 +17,11 @@ { "anchor": { "x": 2.233465367831636, - "y": 5.445130169539619 + "y": 5.45 }, "prevControl": { "x": 2.0115924916534516, - "y": 5.250991402883707 + "y": 5.255861233344088 }, "nextControl": null, "isLocked": false, diff --git a/src/main/deploy/pathplanner/paths/initalShotBlueSource.path b/src/main/deploy/pathplanner/paths/initalShotBlueSource.path index 87a00e19..295d98ec 100644 --- a/src/main/deploy/pathplanner/paths/initalShotBlueSource.path +++ b/src/main/deploy/pathplanner/paths/initalShotBlueSource.path @@ -3,25 +3,25 @@ "waypoints": [ { "anchor": { - "x": 1.28126094090026, - "y": 2.8658579839682212 + "x": 1.28, + "y": 2.87 }, "prevControl": null, "nextControl": { - "x": 1.6787831773861743, - "y": 3.0599967506241326 + "x": 1.6775222364859144, + "y": 3.0641387666559114 }, "isLocked": false, "linkedName": null }, { "anchor": { - "x": 2.288933586876183, - "y": 3.540721315676866 + "x": 2.29, + "y": 3.54 }, "prevControl": { - "x": 1.8174537249975398, - "y": 3.170933188713225 + "x": 1.818520138121357, + "y": 3.170211873036359 }, "nextControl": null, "isLocked": false, @@ -57,7 +57,7 @@ }, "goalEndState": { "velocity": 0, - "rotation": 130.6676860168115, + "rotation": 130.67, "rotateFast": false }, "reversed": false,