mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-21 08:03:42 +08:00
dragonpilot mod for 0.8.5-4
This commit is contained in:
@@ -37,7 +37,8 @@ def dmonitoringd_thread(sm=None, pm=None):
|
||||
driver_engaged = len(sm['carState'].buttonEvents) > 0 or \
|
||||
v_cruise != v_cruise_last or \
|
||||
sm['carState'].steeringPressed or \
|
||||
sm['carState'].gasPressed
|
||||
sm['carState'].gasPressed or \
|
||||
sm['carState'].brakePressed
|
||||
if driver_engaged:
|
||||
driver_status.update(Events(), True, sm['controlsState'].enabled, sm['carState'].standstill)
|
||||
v_cruise_last = v_cruise
|
||||
|
||||
Reference in New Issue
Block a user