mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
dmonitoringd: remove duplicate call on update when driver engaged (#23539)
old-commit-hash: d3505fb8c7bb26dbb9231832b8772fb97650928f
This commit is contained in:
@@ -44,8 +44,6 @@ def dmonitoringd_thread(sm=None, pm=None):
|
||||
v_cruise != v_cruise_last or \
|
||||
sm['carState'].steeringPressed or \
|
||||
sm['carState'].gasPressed
|
||||
if driver_engaged:
|
||||
driver_status.update(Events(), True, sm['controlsState'].enabled, sm['carState'].standstill)
|
||||
v_cruise_last = v_cruise
|
||||
|
||||
if sm.updated['modelV2']:
|
||||
|
||||
Reference in New Issue
Block a user