From be22a85185d8ea56bd06c9ef2a85cd728188d146 Mon Sep 17 00:00:00 2001 From: miyashita64 Date: Tue, 7 Nov 2023 19:03:22 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=E3=83=96=E3=83=AD=E3=83=83=E3=82=AFd?= =?UTF-8?q?e=E3=83=88=E3=83=AC=E3=82=B8=E3=83=A3=E3=83=BC=E6=94=BB?= =?UTF-8?q?=E7=95=A5=E5=89=8D=E3=81=AB=E7=B5=8C=E8=B7=AF=E8=A8=88=E7=94=BB?= =?UTF-8?q?=E3=82=92=E5=91=BC=E3=81=B3=E5=87=BA=E3=81=99=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/EtRobocon2023.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/EtRobocon2023.cpp b/module/EtRobocon2023.cpp index 5819d75f..a244ceaa 100644 --- a/module/EtRobocon2023.cpp +++ b/module/EtRobocon2023.cpp @@ -82,10 +82,18 @@ void EtRobocon2023::start() AreaMaster doubleLoopAreaMaster(Area::DoubleLoop, isLeftCourse, isLeftEdge, targetBrightness); AreaMaster blockDeTreasureAreaMaster(Area::BlockDeTreasure, isLeftCourse, isLeftEdge, targetBrightness); + + // LAPゲートを通過する lineTraceAreaMaster.run(); // 走行状態をlap(LAPゲート通過)に変更 setState("lap"); + + // ダブルループエリアを走行する doubleLoopAreaMaster.run(); + + // ブロックdeトレジャーを攻略する + snprintf(buf, BUF_SIZE, "cd rear_camera_py && make hunt-%c", isLeftCourse? 'l' : 'r'); + system(buf); blockDeTreasureAreaMaster.run(); // 走行状態をfinish(ゴールライン通過(処理停止))に変更