Skip to content

Commit

Permalink
fix not resetting on interaction (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwX1616 authored Feb 8, 2020
1 parent 21f4245 commit 7827a7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selfdrive/controls/dmonitoringd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7827a7c

Please sign in to comment.