From 79f2500657c85c84aceed46ec00f9a703eae395b Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期二, 31 三月 2020 14:55:22 +0800 Subject: [PATCH] 坡道坐标修正、发往主进程的消息线程独立 --- lib/src/main/cpp/driver_test.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h index 83bb257..684e996 100644 --- a/lib/src/main/cpp/driver_test.h +++ b/lib/src/main/cpp/driver_test.h @@ -52,6 +52,8 @@ int *body; int pointNum; double antPitch; // 鍓嶅悗澶╃嚎鍥犲畨瑁呬綅缃箣鍥烘湁pitch瑙� + double antHeight; // 杞﹂《澶╃嚎楂樼▼ + double groundHeight; // 澶у湴楂樼▼ double yaw; double pitch; struct car_desc_ *carDesc; // 缁忕幇鍦烘祴閲忕偣璁$畻鍚庣殑鍊� @@ -134,7 +136,7 @@ void SetCarMeasurePoint(double *basePoint, int *axial, int *left_front_tire, int *right_front_tire, int *left_rear_tire, int *right_rear_tire, - int *body, int bodyNum, double (*point)[2], int pointNum, double antPitch); + int *body, int bodyNum, double (*point)[2], int pointNum, double antPitch, double antHeight, double groundHeight); void StartDriverExam(int start, int type); void StartMapExam(int map_id, int exam); -- Gitblit v1.8.0