Skip to content

Commit

Permalink
Merge pull request #199 from commaai/devel
Browse files Browse the repository at this point in the history
fix not resetting on interaction (commaai#1063)
  • Loading branch information
ErichMoraga authored Feb 9, 2020
2 parents 842ce3b + 7827a7c commit 602e5ed
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 602e5ed

Please sign in to comment.