From 6c7f9e67fdcb882725d2790279fe9d99fb343c06 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期四, 12 三月 2020 17:39:37 +0800
Subject: [PATCH] 更新传感器

---
 lib/src/main/cpp/driver_test.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h
index 6f6288d..4ffde45 100644
--- a/lib/src/main/cpp/driver_test.h
+++ b/lib/src/main/cpp/driver_test.h
@@ -88,11 +88,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);
-void SetSensorCfg(int (*sensor)[3], int sensorNum);
-int GetSensorValidLevel(void);
-void GetSensorCfg(int gpio, int &func, bool &lvl);
-void FindSensorCfg(int func, int &gpio, bool &lvl);
-
+void SensorChanged(int *sensorId, int *sensorValue, int num);
 void StartDriverExam(int start, int type);
 void StartMapExam(int map_id, int exam);
 void GetRtkClock(struct RtkTime *s);

--
Gitblit v1.8.0