mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 16:32:06 +08:00
sim: fix paramsd error (#28685)
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