From 30dd77c435c80ef8fe30fb3b1e65311b5ce7f412 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 10 Apr 2024 18:50:13 -0400 Subject: [PATCH] 10 avril --- .../deploy/pathplanner/autos/10 avril.auto | 19 +++++++++---------- .../pathplanner/paths/10 avril avancer.path | 12 ++++++------ .../pathplanner/paths/10 avril reculer.path | 12 ++++++------ 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/main/deploy/pathplanner/autos/10 avril.auto b/src/main/deploy/pathplanner/autos/10 avril.auto index 0f94b5a..c015f77 100644 --- a/src/main/deploy/pathplanner/autos/10 avril.auto +++ b/src/main/deploy/pathplanner/autos/10 avril.auto @@ -2,7 +2,7 @@ "version": 1.0, "startingPose": { "position": { - "x": 1.38, + "x": 1.35, "y": 5.55 }, "rotation": 0 @@ -16,9 +16,15 @@ "data": { "commands": [ { - "type": "parallel", + "type": "deadline", "data": { "commands": [ + { + "type": "wait", + "data": { + "waitTime": 1.0 + } + }, { "type": "named", "data": { @@ -74,14 +80,7 @@ "data": { "waitTime": 0.2 } - } - ] - } - }, - { - "type": "parallel", - "data": { - "commands": [ + }, { "type": "named", "data": { diff --git a/src/main/deploy/pathplanner/paths/10 avril avancer.path b/src/main/deploy/pathplanner/paths/10 avril avancer.path index 2fd9ce0..bbdaf15 100644 --- a/src/main/deploy/pathplanner/paths/10 avril avancer.path +++ b/src/main/deploy/pathplanner/paths/10 avril avancer.path @@ -3,12 +3,12 @@ "waypoints": [ { "anchor": { - "x": 2.91, + "x": 3.2, "y": 5.55 }, "prevControl": null, "nextControl": { - "x": 3.91, + "x": 4.2, "y": 5.55 }, "isLocked": false, @@ -16,11 +16,11 @@ }, { "anchor": { - "x": 1.4, + "x": 1.35, "y": 5.55 }, "prevControl": { - "x": 0.3999999999999999, + "x": 0.3500000000000001, "y": 5.55 }, "nextControl": null, @@ -30,9 +30,9 @@ ], "rotationTargets": [ { - "waypointRelativePos": 0.55, + "waypointRelativePos": 0.5, "rotationDegrees": 0, - "rotateFast": false + "rotateFast": true } ], "constraintZones": [], diff --git a/src/main/deploy/pathplanner/paths/10 avril reculer.path b/src/main/deploy/pathplanner/paths/10 avril reculer.path index 38b32ab..4b7e8ba 100644 --- a/src/main/deploy/pathplanner/paths/10 avril reculer.path +++ b/src/main/deploy/pathplanner/paths/10 avril reculer.path @@ -3,12 +3,12 @@ "waypoints": [ { "anchor": { - "x": 1.4, + "x": 1.3479282065452507, "y": 5.547612425391122 }, "prevControl": null, "nextControl": { - "x": 2.4000000000000004, + "x": 2.3479282065452507, "y": 5.547612425391122 }, "isLocked": false, @@ -16,11 +16,11 @@ }, { "anchor": { - "x": 2.9078895212422267, + "x": 3.20038226774791, "y": 5.547612425391122 }, "prevControl": { - "x": 1.9078895212422267, + "x": 2.20038226774791, "y": 5.547612425391122 }, "nextControl": null, @@ -30,9 +30,9 @@ ], "rotationTargets": [ { - "waypointRelativePos": 0.3, + "waypointRelativePos": 0.55, "rotationDegrees": 0, - "rotateFast": false + "rotateFast": true } ], "constraintZones": [],