From 1308a26e8b89ff2ef9435e609580469182bdd0c0 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期四, 05 三月 2020 14:44:31 +0800
Subject: [PATCH] 更新地图

---
 lib/src/main/cpp/driver_test.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/src/main/cpp/driver_test.cpp b/lib/src/main/cpp/driver_test.cpp
index 443a303..c28f2a9 100644
--- a/lib/src/main/cpp/driver_test.cpp
+++ b/lib/src/main/cpp/driver_test.cpp
@@ -540,6 +540,11 @@
                         CurrExamStatus = EXAM_AREA_RUN;
                         break;
                     case MAP_TYPE_CURVE:
+                        DEBUG("杩涘叆鏇茬嚎琛岄┒鍦哄湴");
+                        MA_SendDebugInfo("杩涘叆鏇茬嚎琛岄┒鍦哄湴 %d", GetMapId(CurrExamMapIndex, MapList, MapNum));
+                        StartDrivingCurve(move, &rtkTime);
+
+                        CurrExamStatus = EXAM_AREA_RUN;
                         break;
                     case MAP_TYPE_TURN_90:
                         DEBUG("杩涘叆鐩磋杞集鍦哄湴");
@@ -563,6 +568,7 @@
                         testing = TestParkEdge(&MapList[CurrExamMapIndex].map, CarModel, CarModelPrev, speed, move, &rtkTime);
                         break;
                     case MAP_TYPE_CURVE:
+                        testing = TestDrivingCurve(&MapList[CurrExamMapIndex].map, &MapList[CurrExamMapIndex].map2, CarModel, CarModelPrev, speed, move, &rtkTime);
                         break;
                     case MAP_TYPE_TURN_90:
                         testing = TestTurnA90(&MapList[CurrExamMapIndex].map, CarModel, CarModelPrev, azimuth, speed, move, &rtkTime);

--
Gitblit v1.8.0