From edc694498e7ca9a0475bbf5576729aedfc88d3f0 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期一, 13 一月 2020 14:04:50 +0800 Subject: [PATCH] s --- lib/src/main/cpp/master/comm_if.h | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/lib/src/main/cpp/master/comm_if.h b/lib/src/main/cpp/master/comm_if.h index 33c6f32..ab839e6 100644 --- a/lib/src/main/cpp/master/comm_if.h +++ b/lib/src/main/cpp/master/comm_if.h @@ -29,6 +29,23 @@ double roll; }; +struct carBrief { + char utc[32]; + int qf; + int map_id; + int move; + double speed; + double heading; + double main_ant[2]; + int axial[2]; + int left_front_tire[2]; + int right_front_tire[2]; + int left_rear_tire[2]; + int right_rear_tire[2]; + double *point; + int pointNum; +}; + void MA_MainProcMsgEntry(int cmd, const char *value); void MA_NdkStart(void); @@ -42,5 +59,7 @@ void MA_SendExamStatus(int start, int errorCode); void MA_SendGpsBrief(const struct gpsBrief *brief); void MA_SendRtkBrief(const struct rtkBrief *brief); +void MA_SendCarPosition(const struct carBrief *brief); + #endif //MYAPPLICATION2_COMM_IF_H -- Gitblit v1.8.0