diff --git a/src/main/deploy/pathplanner/autos/death sweep.auto b/src/main/deploy/pathplanner/autos/death sweep.auto index 1dd3d355..15d6cdca 100644 --- a/src/main/deploy/pathplanner/autos/death sweep.auto +++ b/src/main/deploy/pathplanner/autos/death sweep.auto @@ -2,15 +2,59 @@ "version": 1.0, "startingPose": { "position": { - "x": 2, - "y": 2 + "x": 15.23, + "y": 5.57 }, - "rotation": 0 + "rotation": 180.0 }, "command": { "type": "sequential", "data": { - "commands": [] + "commands": [ + { + "type": "path", + "data": { + "pathName": "death sweep 1" + } + }, + { + "type": "path", + "data": { + "pathName": "death sweep 2" + } + }, + { + "type": "path", + "data": { + "pathName": "death sweep 3" + } + }, + { + "type": "race", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "death sweep 4" + } + }, + { + "type": "named", + "data": { + "name": "Spinny" + } + } + ] + } + }, + { + "type": "named", + "data": { + "name": "Shoot without drivetrain" + } + } + ] } }, "folder": "1 note", diff --git a/src/main/deploy/pathplanner/paths/death sweep 1.path b/src/main/deploy/pathplanner/paths/death sweep 1.path index 0574b1b7..cc5ac50f 100644 --- a/src/main/deploy/pathplanner/paths/death sweep 1.path +++ b/src/main/deploy/pathplanner/paths/death sweep 1.path @@ -3,25 +3,25 @@ "waypoints": [ { "anchor": { - "x": 10.750148166963003, - "y": 6.299494821211866 + "x": 15.23, + "y": 5.57 }, "prevControl": null, "nextControl": { - "x": 11.750148166963003, - "y": 6.299494821211866 + "x": 15.260882833194238, + "y": 5.552648499582714 }, "isLocked": false, "linkedName": null }, { "anchor": { - "x": 13.871391076115486, - "y": 4.3469364716507215 + "x": 8.37, + "y": 7.637577560869407 }, "prevControl": { - "x": 12.871391076115486, - "y": 4.3469364716507215 + "x": 8.355340542109653, + "y": 7.608258645088718 }, "nextControl": null, "isLocked": false, @@ -39,13 +39,13 @@ }, "goalEndState": { "velocity": 0, - "rotation": 0, + "rotation": 180.0, "rotateFast": false }, "reversed": false, "folder": "death sweep", "previewStartingState": { - "rotation": 0, + "rotation": 180.0, "velocity": 0 }, "useDefaultConstraints": true diff --git a/src/main/deploy/pathplanner/paths/death sweep 2.path b/src/main/deploy/pathplanner/paths/death sweep 2.path new file mode 100644 index 00000000..58601aa7 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/death sweep 2.path @@ -0,0 +1,52 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 8.37, + "y": 7.64 + }, + "prevControl": null, + "nextControl": { + "x": 7.639899851228273, + "y": 5.8051453245763645 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.48, + "y": 4.104648209296419 + }, + "prevControl": { + "x": 8.450148408868246, + "y": 4.133967125077108 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 0.0, + "rotateFast": false + }, + "reversed": false, + "folder": "death sweep", + "previewStartingState": { + "rotation": 180.0, + "velocity": 0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/death sweep 3.path b/src/main/deploy/pathplanner/paths/death sweep 3.path new file mode 100644 index 00000000..705e42d9 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/death sweep 3.path @@ -0,0 +1,52 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 8.48, + "y": 4.1 + }, + "prevControl": null, + "nextControl": { + "x": 7.771834972241374, + "y": 2.4481294676875076 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 8.37, + "y": 0.7769512681882514 + }, + "prevControl": { + "x": 8.37, + "y": 0.7769512681882514 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": 180.0, + "rotateFast": false + }, + "reversed": false, + "folder": "death sweep", + "previewStartingState": { + "rotation": 0.0, + "velocity": 0 + }, + "useDefaultConstraints": true +} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/death sweep 4.path b/src/main/deploy/pathplanner/paths/death sweep 4.path new file mode 100644 index 00000000..b6638f32 --- /dev/null +++ b/src/main/deploy/pathplanner/paths/death sweep 4.path @@ -0,0 +1,52 @@ +{ + "version": 1.0, + "waypoints": [ + { + "anchor": { + "x": 8.37, + "y": 0.78 + }, + "prevControl": null, + "nextControl": { + "x": 8.563445698319969, + "y": 3.547588809463334 + }, + "isLocked": false, + "linkedName": null + }, + { + "anchor": { + "x": 12.389564207699843, + "y": 4.998875140607424 + }, + "prevControl": { + "x": 12.389564207699843, + "y": 4.998875140607424 + }, + "nextControl": null, + "isLocked": false, + "linkedName": null + } + ], + "rotationTargets": [], + "constraintZones": [], + "eventMarkers": [], + "globalConstraints": { + "maxVelocity": 3.0, + "maxAcceleration": 3.0, + "maxAngularVelocity": 540.0, + "maxAngularAcceleration": 720.0 + }, + "goalEndState": { + "velocity": 0, + "rotation": -170.8376529542783, + "rotateFast": false + }, + "reversed": false, + "folder": "death sweep", + "previewStartingState": { + "rotation": 180.0, + "velocity": 0 + }, + "useDefaultConstraints": true +} \ No newline at end of file