From fb7b0660a319a9c54ff35c3944548348fae11b60 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期一, 24 八月 2020 18:53:23 +0800
Subject: [PATCH] 坐标
---
lib/src/main/cpp/driver_test.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h
index 58359b1..524fccc 100644
--- a/lib/src/main/cpp/driver_test.h
+++ b/lib/src/main/cpp/driver_test.h
@@ -96,6 +96,7 @@
#define LINE_SOLID 1
#define LINE_HALF_SOLID_LEFT 2
#define LINE_HALF_SOLID_RIGHT 3
+#define LINE_BOUNDARY 4
//杞﹂亾鏂瑰悜锛堟寜浣嶇粍鍚堬級,濡傛灉涓�0锛屽垯琛ㄦ棤杞﹂亾鏂瑰悜璇存槑锛�
#define LANE_FORWARD 0x01
@@ -140,6 +141,7 @@
string tts;
bool stopFlag;
Line line;
+ PointF centrePoint;
} stop_line_t;
typedef struct {
@@ -184,10 +186,17 @@
std::vector<PointF> leftPoints; // 瀵瑰簲鍒伴亾璺乏渚х殑鐐�
} trigger_line_t;
+typedef struct {
+ int id;
+ int type;
+ std::vector<PointF> points;
+} forbid_line_t;
+
struct road_exam_map {
std::vector<road_t> roads;
std::vector<special_area_t> specialAreas;
std::vector<trigger_line_t> triggerLines;
+ std::vector<forbid_line_t> forbidLines;
};
struct area_exam_map {
--
Gitblit v1.8.0