sim: fix paramsd error (#28685)

old-commit-hash: 4662a0de82
beeps
Adeeb Shihadeh 2 years ago committed by GitHub
parent 8d80b8445c
commit 59064a4f6a
  1. 2
      selfdrive/controls/controlsd.py

@ -373,7 +373,7 @@ class Controls:
else: else:
self.logged_comm_issue = None self.logged_comm_issue = None
if not self.sm['liveParameters'].valid and not TESTING_CLOSET: if not self.sm['liveParameters'].valid and not TESTING_CLOSET and not SIMULATION:
self.events.add(EventName.vehicleModelInvalid) self.events.add(EventName.vehicleModelInvalid)
if not self.sm['lateralPlan'].mpcSolutionValid: if not self.sm['lateralPlan'].mpcSolutionValid:
self.events.add(EventName.plannerError) self.events.add(EventName.plannerError)

Loading…
Cancel
Save