From 2d0741f8e56e4f24126ea8448551e64560c45b4e Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期三, 18 三月 2020 18:41:57 +0800 Subject: [PATCH] 通用测试 --- lib/src/main/cpp/driver_test.h | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h index 8a0ff4a..85b0594 100644 --- a/lib/src/main/cpp/driver_test.h +++ b/lib/src/main/cpp/driver_test.h @@ -11,6 +11,7 @@ #include <vector> #include <string> +#include <list> #define EXAM_AREA_NONE 0 #define EXAM_AREA_START 1 @@ -29,7 +30,18 @@ double angle; // 浠庝腑杞寸嚎閫嗘椂閽堝舰鎴愮殑瑙掑害 }; +struct RtkTime { + int YY; + int MM; + int DD; + int hh; + int mm; + int ss; + int mss; +}; + typedef struct { + struct RtkTime tm; PointF basePoint; // 鐜板満娴嬮噺鐨勪富澶╃嚎鍧愭爣 int axial[2]; int left_front_tire[2]; @@ -66,16 +78,6 @@ carModelDesc_t *desc; } car_model_cache_t; -struct RtkTime { - int YY; - int MM; - int DD; - int hh; - int mm; - int ss; - int mss; -}; - struct ExamFault { int sn; char utc[32]; @@ -106,6 +108,8 @@ typedef vector<struct road_exam_map> LIST_ROAD_MAP; +typedef list<car_model *> LIST_CAR_MODEL; + //vector<ExamFault> ExamFaultList; void DriverTestInit(void); -- Gitblit v1.8.0