sim: fix paramsd error (#28685)

old-commit-hash: 4662a0de82e4a69e8a61d0c91dbe7c20f73ca216
This commit is contained in:
Adeeb Shihadeh
2023-06-24 20:46:03 -07:00
committed by GitHub
parent 8d80b8445c
commit 59064a4f6a
+1 -1
View File
@@ -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)