From 2d6a9d02c77d7e08d4f18ee87d6e3d337b949f47 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期四, 20 八月 2020 19:35:17 +0800
Subject: [PATCH] 坐标
---
lib/src/main/cpp/test_items2/road_exam.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/lib/src/main/cpp/test_items2/road_exam.h b/lib/src/main/cpp/test_items2/road_exam.h
index 626a110..a36f8a9 100644
--- a/lib/src/main/cpp/test_items2/road_exam.h
+++ b/lib/src/main/cpp/test_items2/road_exam.h
@@ -7,6 +7,7 @@
#include "../driver_test.h"
+
#define GENERAL_MAP 100
#define DRIVE_STRAIGHT_MAP 101
#define OP_GEAER_MAP 102
@@ -25,6 +26,16 @@
int sec;
int msec;
};
+
+typedef struct
+{
+ int name;
+ int value;
+ struct RtkTime time;
+} car_sensor_value_t;
+
+car_sensor_value_t ReadCarSensorValue(int name);
+
void CrossRoadCallback(int road, int stop_line, int active, const car_model *car);
void Rtk2DriveTimer(struct drive_timer &tm, const struct RtkTime *rtkTime);
void InitRoadExam(road_exam_map &RoadMap);
--
Gitblit v1.8.0