mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 10:32:10 +08:00
fix not resetting on interaction (#1061)
old-commit-hash: 8321cf283abbc2ca3fda7e0c7a069a77a492fe0c
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