From d9dc7419b35b7762bc5222cf874ccc39d2d66f43 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期一, 10 八月 2020 18:36:31 +0800
Subject: [PATCH] 坐标

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

diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h
index cbad97b..69173a1 100644
--- a/lib/src/main/cpp/driver_test.h
+++ b/lib/src/main/cpp/driver_test.h
@@ -141,23 +141,32 @@
 
 // 涓�缁勫钩琛岀殑鍒嗛亾绾�
 typedef struct {
-    std::vector<lane_direct_t> lane_direct;
+    std::vector<lane_direct_t> lane_direct;         // 姣忎竴杞﹂亾鐨勮繍琛屾柟鍚�
     std::vector<std::vector<segment_t>> lines;      // 姣忔鍩熶笅鐨勫钩琛岀殑涓�缁勭嚎
 } separate_t;
 
 typedef struct {
+    int active;
+    string tts;
+    bool stopFlag;
+    Line line;
+} stop_line_t;
+
+typedef struct {
     int id;
     Line startLine;
-    Line stopLine;
-    int active;         // 鍒拌揪璺彛灏鹃儴鐨勮杩涙柟鍚�
+//    Line stopLine;
+//    int active;         // 鍒拌揪璺彛灏鹃儴鐨勮杩涙柟鍚�
     bool activeBreak;   // 璺彛鍒硅溅鍑忛��
     bool activeStop;    // 璺彛鍋滆溅鐬湜
     bool errorLane;     // 閿欒杞﹂亾
     int targetRoad;
-    int stopFlag;
-    string tts;
-    bool arrivedTail;
+//    int stopFlag;
+//    string tts;
+//    bool arrivedTail;
     Polygon area;       // 鏁翠釜閬撹矾鍖哄煙
+
+    std::vector<stop_line_t> stopLine;
     std::vector<edge_t> leftEdge;
     std::vector<edge_t> rightEdge;
     std::vector<separate_t> separate;

--
Gitblit v1.8.0