mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-17 23:32:07 +08:00
sim: fix paramsd error (#28685)
old-commit-hash: 4662a0de82e4a69e8a61d0c91dbe7c20f73ca216
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user