Skip to content

Commit

Permalink
fix not resetting on interaction (commaai#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwX1616 committed Feb 8, 2020
1 parent 2ef8a28 commit 1cb0864
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 1cb0864

Please sign in to comment.