diff --git a/src/main/deploy/pathplanner/autos/Calibration.auto b/src/main/deploy/pathplanner/autos/+5m -5m spin.auto similarity index 62% rename from src/main/deploy/pathplanner/autos/Calibration.auto rename to src/main/deploy/pathplanner/autos/+5m -5m spin.auto index 993c91b..811edf7 100644 --- a/src/main/deploy/pathplanner/autos/Calibration.auto +++ b/src/main/deploy/pathplanner/autos/+5m -5m spin.auto @@ -1,12 +1,6 @@ { "version": 1.0, - "startingPose": { - "position": { - "x": 2.0, - "y": 7.0 - }, - "rotation": 0 - }, + "startingPose": null, "command": { "type": "sequential", "data": { @@ -14,7 +8,7 @@ { "type": "path", "data": { - "pathName": "3m Backwards" + "pathName": "+5m -5m spin" } } ] diff --git a/src/main/deploy/pathplanner/autos/+5m -5m.auto b/src/main/deploy/pathplanner/autos/+5m -5m.auto new file mode 100644 index 0000000..a43561b --- /dev/null +++ b/src/main/deploy/pathplanner/autos/+5m -5m.auto @@ -0,0 +1,19 @@ +{ + "version": 1.0, + "startingPose": null, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "+5m -5m" + } + } + ] + } + }, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/autos/+5m.auto b/src/main/deploy/pathplanner/autos/+5m.auto new file mode 100644 index 0000000..cb6b806 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/+5m.auto @@ -0,0 +1,19 @@ +{ + "version": 1.0, + "startingPose": null, + "command": { + "type": "sequential", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "+5m" + } + } + ] + } + }, + "folder": null, + "choreoAuto": false +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/+5m -5m spin.path b/src/main/deploy/pathplanner/paths/+5m -5m spin.path new file mode 100644 index 0000000..46da4b9 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/+5m -5m spin.path @@ -0,0 +1,71 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 2.0, + "y": 7.0 + }, + "prevControl": null, + "nextControl": { + "x": 3.118033988749895, + "y": 7.0 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 7.0, + "y": 7.0 + }, + "prevControl": { + "x": 6.88, + "y": 7.0 + }, + "nextControl": { + "x": 7.1154848849079295, + "y": 7.0 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 2.0, + "y": 7.0 + }, + "prevControl": { + "x": 0.47930936742544894, + "y": 7.0 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [ + { + "waypointRelativePos": 1.0, + "rotationDegrees": 180.0, + "rotateFast": true + } + ], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 0, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/+5m -5m.path b/src/main/deploy/pathplanner/paths/+5m -5m.path new file mode 100644 index 0000000..3f8163b --- /dev/null +++ b/src/main/deploy/pathplanner/paths/+5m -5m.path @@ -0,0 +1,65 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 2.0, + "y": 7.0 + }, + "prevControl": null, + "nextControl": { + "x": 3.118033988749895, + "y": 7.0 + }, + "isLocked": true, + "linkedName": null + }, + { + "anchor": { + "x": 5.0, + "y": 7.0 + }, + "prevControl": { + "x": 4.88, + "y": 7.0 + }, + "nextControl": { + "x": 5.1154848849079295, + "y": 7.0 + }, + "isLocked": true, + "linkedName": null + }, + { + "anchor": { + "x": 2.0, + "y": 7.0 + }, + "prevControl": { + "x": 0.47930936742544894, + "y": 7.0 + }, + "nextControl": null, + "isLocked": true, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 0, + "rotateFast": false + }, + "reversed": false, + "folder": null, + "previewStartingState": null, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/3m Backwards.path b/src/main/deploy/pathplanner/paths/+5m.path similarity index 90% rename from src/main/deploy/pathplanner/paths/3m Backwards.path rename to src/main/deploy/pathplanner/paths/+5m.path index f03256c..a0916da 100644 --- a/src/main/deploy/pathplanner/paths/3m Backwards.path +++ b/src/main/deploy/pathplanner/paths/+5m.path @@ -16,11 +16,11 @@ }, { "anchor": { - "x": 5.0, + "x": 7.0, "y": 7.0 }, "prevControl": { - "x": 3.479309367425449, + "x": 6.88, "y": 7.0 }, "nextControl": null, @@ -45,5 +45,5 @@ "reversed": false, "folder": null, "previewStartingState": null, - "useDefaultConstraints": false + "useDefaultConstraints": true } \ No newline at end of file