From 4662a0de82e4a69e8a61d0c91dbe7c20f73ca216 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 24 Jun 2023 20:46:03 -0700 Subject: [PATCH] sim: fix paramsd error (#28685) --- selfdrive/controls/controlsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index f2f9cef862..b0721266a4 100755 --- a/selfdrive/controls/controlsd.py +++ b/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)