mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-22 09:03:45 +08:00
Lateral Plan: More fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user