mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 01:02:48 +08:00
fix not resetting on interaction (#1063)
This commit is contained in:
@@ -63,6 +63,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
|
||||
if driver_engaged:
|
||||
_ = driver_status.update([], True, sm['carState'].cruiseState.enabled, sm['carState'].standstill)
|
||||
v_cruise_last = v_cruise
|
||||
|
||||
# Get model meta
|
||||
|
||||
Reference in New Issue
Block a user