diff options
Diffstat (limited to 'src/low_can_client.hpp')
-rw-r--r-- | src/low_can_client.hpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/low_can_client.hpp b/src/low_can_client.hpp index 4bc3747..390d752 100644 --- a/src/low_can_client.hpp +++ b/src/low_can_client.hpp @@ -37,6 +37,7 @@ public: SignalNoHeadlame, SignalNoParkingBrake, SignalNoAccelPedalPos, + SignalNoLightstatusBrake, SignalNum, @@ -50,6 +51,7 @@ public: "headlamp_status", "parking_brake_status", "accelerator.pedal.position", + "lightstatus.brake", }; void initialize(); @@ -60,6 +62,7 @@ public: bool getCurrentParkingBrakeState(); double getCurrentAccelPedalPosition(); bool getCurrentAccelPedalState(); + bool getCurrentLightstatusBrakeState(); bool isChangedAccelPedalState(); @@ -84,11 +87,12 @@ private: }; const std::vector<const char*> kFilterValue_{ - "", - "", - "", - "", - "", //"{ \"min\": 0, \"max\": 10}", + "", // vehicle.speed + "", // transmission_gear_position + "", // headlamp_status + "", // parking_brake_status + "", // accelerator.pedal.position + "", // lightstatus.brake }; int vehicle_speed_; @@ -97,6 +101,7 @@ private: json_bool parking_brake_status_; double accel_pedal_pos_; bool accel_pedal_stt_; + json_bool lightstatus_brake_status_; bool is_changed_accel_pedal_stt_; }; |