diff options
Diffstat (limited to 'src/low_can_client.hpp')
-rw-r--r-- | src/low_can_client.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/low_can_client.hpp b/src/low_can_client.hpp index 5119c23..ea441be 100644 --- a/src/low_can_client.hpp +++ b/src/low_can_client.hpp @@ -32,8 +32,10 @@ public: void initialize(); void analyzeCanSignal(struct json_object *object); + bool isChangedParkingBrakeState(); bool isChangedCarState(); bool isChangedLampState(); + const char* getCurrentParkingBrakeState(); const char* getCurrentCarState(); const char* getCurrentLampState(); @@ -54,14 +56,17 @@ private: int vehicle_speed_; int trans_gear_pos_; - json_bool park_brake_status_; + json_bool parking_brake_status_; json_bool headlamp_status_; + std::string prv_parking_brake_state_; + std::string crr_parking_brake_state_; std::string prv_car_state_; std::string crr_car_state_; std::string prv_lamp_state_; std::string crr_lamp_state_; + bool is_changed_parking_brake_state_; bool is_changed_car_state_; bool is_changed_lamp_state_; }; |