From 25777013517d1bd398a98504826a417236706af2 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期二, 24 三月 2020 19:01:29 +0800
Subject: [PATCH] 车辆信号完善,路边停车完善。

---
 lib/src/main/cpp/test_common/car_sensor.h |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/lib/src/main/cpp/test_common/car_sensor.h b/lib/src/main/cpp/test_common/car_sensor.h
index b6e65af..20695f7 100644
--- a/lib/src/main/cpp/test_common/car_sensor.h
+++ b/lib/src/main/cpp/test_common/car_sensor.h
@@ -7,6 +7,7 @@
 
 #include <cstdint>
 
+// Name
 enum {
     OBD_SPEED,
     ENGINE_RPM,
@@ -23,15 +24,22 @@
     HAND_BREAK,
     SECOND_BREAK,
     DOOR,
+    SURROUND_CAR_1,
+    SURROUND_CAR_2,
+    SURROUND_CAR_3,
+    SURROUND_CAR_4,
     CAR_STATUS_END              //////////////
 };
 
+// Value
 enum {
     OFF_LIGHT = 0,
     EJECT_SEATBELT = 0,
     ENGINE_START_INACTIVE = 0,
     BREAK_INACTIVE = 0,
     DOOR_OPEN = 0,
+    SURROUND_CAR_INACTIVE = 0,
+
     HAZARD_LIGHTS,
     LEFT_TURN_LIGHT,
     RIGHT_TURN_LIGHT,
@@ -43,14 +51,15 @@
     INSERT_SEATBELT,
     ENGINE_START_ACTIVE,
     GEAR_N,
-    SHIFT_R,
     GEAR_1,
     GEAR_2,
     GEAR_3,
     GEAR_4,
     GEAR_5,
+    GEAR_R,
     BREAK_ACTIVE,
-    DOOR_CLOSE
+    DOOR_CLOSE,
+    SURROUND_CAR_ACTIVE
 };
 
 void CarSensorInit(void);

--
Gitblit v1.8.0