diff options
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index 2e6ad69..590b23a 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -134,6 +134,7 @@ typedef struct CarInfo { double accel_pedal_pos; const char *car_stt; bool headlamp_stt; + bool lightstatus_brake_stt; } CarInfo; struct App { @@ -159,6 +160,9 @@ struct App { Event_ParkingBrakeOff, Event_ParkingBrakeOn, + Event_LightstatusBrakeOff, + Event_LightstatusBrakeOn, + Event_CarStop, Event_CarRun, @@ -176,6 +180,8 @@ struct App { "headlamp_on", "parking_brake_off", "parking_brake_on", + "lightstatus_brake_off", + "lightstatus_brake_on", "car_stop", "car_run", }; @@ -287,6 +293,8 @@ private: void emitHeadlampOn(); void emitParkingBrakeOff(); void emitParkingBrakeOn(); + void emitLightstatusBrakeOff(); + void emitLightstatusBrakeOn(); void emitCarStop(); void emitCarRun(); |