From 099956de17836d68e5eeec6ef520c722214ec6ab Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 10 Apr 2024 19:07:07 -0400 Subject: [PATCH] 10 avr --- src/main/deploy/pathplanner/autos/10 avril.auto | 8 +++++++- .../deploy/pathplanner/paths/10 avril avancer.path | 14 ++++---------- .../deploy/pathplanner/paths/10 avril reculer.path | 12 +++--------- 3 files changed, 14 insertions(+), 20 deletions(-) diff --git a/src/main/deploy/pathplanner/autos/10 avril.auto b/src/main/deploy/pathplanner/autos/10 avril.auto index c015f77..ba1d092 100644 --- a/src/main/deploy/pathplanner/autos/10 avril.auto +++ b/src/main/deploy/pathplanner/autos/10 avril.auto @@ -41,9 +41,15 @@ } }, { - "type": "parallel", + "type": "deadline", "data": { "commands": [ + { + "type": "wait", + "data": { + "waitTime": 4.0 + } + }, { "type": "path", "data": { diff --git a/src/main/deploy/pathplanner/paths/10 avril avancer.path b/src/main/deploy/pathplanner/paths/10 avril avancer.path index bbdaf15..37c5335 100644 --- a/src/main/deploy/pathplanner/paths/10 avril avancer.path +++ b/src/main/deploy/pathplanner/paths/10 avril avancer.path @@ -8,7 +8,7 @@ }, "prevControl": null, "nextControl": { - "x": 4.2, + "x": 5.2, "y": 5.55 }, "isLocked": false, @@ -28,18 +28,12 @@ "linkedName": null } ], - "rotationTargets": [ - { - "waypointRelativePos": 0.5, - "rotationDegrees": 0, - "rotateFast": true - } - ], + "rotationTargets": [], "constraintZones": [], "eventMarkers": [], "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 1.5, + "maxVelocity": 1.75, + "maxAcceleration": 1.0, "maxAngularVelocity": 540.0, "maxAngularAcceleration": 720.0 }, diff --git a/src/main/deploy/pathplanner/paths/10 avril reculer.path b/src/main/deploy/pathplanner/paths/10 avril reculer.path index 4b7e8ba..8510173 100644 --- a/src/main/deploy/pathplanner/paths/10 avril reculer.path +++ b/src/main/deploy/pathplanner/paths/10 avril reculer.path @@ -28,18 +28,12 @@ "linkedName": null } ], - "rotationTargets": [ - { - "waypointRelativePos": 0.55, - "rotationDegrees": 0, - "rotateFast": true - } - ], + "rotationTargets": [], "constraintZones": [], "eventMarkers": [], "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 1.5, + "maxVelocity": 1.75, + "maxAcceleration": 1.0, "maxAngularVelocity": 540.0, "maxAngularAcceleration": 720.0 },