From 5d8bbafd008826de19914bf7b76317fc5a3d57c3 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 3 Apr 2024 18:42:30 -0400 Subject: [PATCH] --- .../deploy/pathplanner/autos/3 avril.auto | 30 ++- src/main/deploy/pathplanner/autos/B.C.5.auto | 192 ++++++++++++++++++ 2 files changed, 220 insertions(+), 2 deletions(-) diff --git a/src/main/deploy/pathplanner/autos/3 avril.auto b/src/main/deploy/pathplanner/autos/3 avril.auto index 6ee18e0..891370f 100644 --- a/src/main/deploy/pathplanner/autos/3 avril.auto +++ b/src/main/deploy/pathplanner/autos/3 avril.auto @@ -12,9 +12,35 @@ "data": { "commands": [ { - "type": "path", + "type": "parallel", "data": { - "pathName": "3 avril" + "commands": [ + { + "type": "path", + "data": { + "pathName": "3 avril" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] } } ] diff --git a/src/main/deploy/pathplanner/autos/B.C.5.auto b/src/main/deploy/pathplanner/autos/B.C.5.auto index 9b5f523..f384f59 100644 --- a/src/main/deploy/pathplanner/autos/B.C.5.auto +++ b/src/main/deploy/pathplanner/autos/B.C.5.auto @@ -62,6 +62,198 @@ ] } }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, + { + "type": "parallel", + "data": { + "commands": [ + { + "type": "path", + "data": { + "pathName": "1.1" + } + }, + { + "type": "deadline", + "data": { + "commands": [ + { + "type": "wait", + "data": { + "waitTime": 3.7 + } + }, + { + "type": "named", + "data": { + "name": "balayer" + } + } + ] + } + } + ] + } + }, { "type": "path", "data": {