From 615775b03a705507ce5b7a967bde8aafb5d77e28 Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期四, 27 八月 2020 16:20:16 +0800
Subject: [PATCH] 坐标

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

diff --git a/lib/src/main/cpp/driver_test.cpp b/lib/src/main/cpp/driver_test.cpp
index ec51233..8bfad32 100644
--- a/lib/src/main/cpp/driver_test.cpp
+++ b/lib/src/main/cpp/driver_test.cpp
@@ -402,6 +402,9 @@
             if (type == TEST_TYPE_ROAD_DUMMY_LIGHT) {
                 exam_dummy_light = 0;           //0
             }
+            if (type == TEST_TYPE_ROAD_TRUE_LIGHT) {
+                InitRoadExam(RoadMap);
+            }
             if (type == TEST_TYPE_AREA) {
                 InitAreaExam();
             }
@@ -575,9 +578,8 @@
 
                 cs[i] = cs_temp[i];
 
-                char buff[128];
-
-                sprintf(buff, "%s锛�%s", NAME[i], VALUE[ cs_temp[i] ]);
+//                char buff[128];
+//                sprintf(buff, "%s锛�%s", NAME[i], VALUE[ cs_temp[i] ]);
 //                PlayTTS(buff, NULL);
             }
         }
@@ -652,7 +654,7 @@
     }
 
     if (ExamType != TEST_TYPE_AREA) {
-        if (exam_dummy_light == 2) {
+        if (exam_dummy_light == 2 || ExamType == TEST_TYPE_ROAD_TRUE_LIGHT) {
             TestRoadGeneral(RoadMap, CarModel, CarModelList, speed, move, rtkTime);
         }
     } else {

--
Gitblit v1.8.0