sim: fix paramsd error (#28685)

pull/28248/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 5992bf4acc
commit 4662a0de82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/controls/controlsd.py

@ -373,7 +373,7 @@ class Controls:
else:
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)
if not self.sm['lateralPlan'].mpcSolutionValid:
self.events.add(EventName.plannerError)

Loading…
Cancel
Save