mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
Plannerd: higher upper bound cost for lateral planner (#28352)
20k not good upper bound for 10s old-commit-hash: cbd3e5b94685220f78297786e6a121e1165946b1
This commit is contained in:
@@ -112,7 +112,7 @@ class LateralPlanner:
|
||||
self.last_cloudlog_t = t
|
||||
cloudlog.warning("Lateral mpc - nan: True")
|
||||
|
||||
if self.lat_mpc.cost > 20000. or mpc_nans:
|
||||
if self.lat_mpc.cost > 1e6 or mpc_nans:
|
||||
self.solution_invalid_cnt += 1
|
||||
else:
|
||||
self.solution_invalid_cnt = 0
|
||||
|
||||
Reference in New Issue
Block a user