Lateral Plan: More fix

This commit is contained in:
Jason Wen
2024-02-09 14:38:03 -05:00
parent 085f17c6c8
commit 0d290529d7
+1 -1
View File
@@ -457,7 +457,7 @@ class Controls:
if not (self.CP.notCar and self.joystick_mode):
if self.model_use_lateral_planner:
if not self.sm['lateralPlan'].mpcSolutionValid:
if not self.sm['lateralPlanDEPRECATED'].mpcSolutionValid:
self.events.add(EventName.plannerErrorDEPRECATED)
if not self.sm['liveLocationKalman'].posenetOK:
self.events.add(EventName.posenetInvalid)