fix not resetting on interaction (#1061)

pull/1064/head
ZwX1616 2020-02-07 16:43:36 -08:00 committed by GitHub
parent 2b97ff70b5
commit 8321cf283a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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