sim: fix paramsd error (#28685)

This commit is contained in:
Adeeb Shihadeh
2023-06-24 20:46:03 -07:00
committed by GitHub
parent 5992bf4acc
commit 4662a0de82
+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)