From 7827a7cdbaa590994f8a42bbabf3e70f34106496 Mon Sep 17 00:00:00 2001 From: ZwX1616 Date: Sat, 8 Feb 2020 11:22:21 -0800 Subject: [PATCH] fix not resetting on interaction (#1063) --- selfdrive/controls/dmonitoringd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/controls/dmonitoringd.py b/selfdrive/controls/dmonitoringd.py index 09108a62f9e85b..3c888d7b30feba 100755 --- a/selfdrive/controls/dmonitoringd.py +++ b/selfdrive/controls/dmonitoringd.py @@ -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