mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +08:00
Cleanup pathplanner (#19827)
* no divide by 0 * misc cleanup * final fixes * remove last polys * new ref * fix test * update again
This commit is contained in:
@@ -75,7 +75,7 @@ def mpc_vwr_thread(addr="127.0.0.1"):
|
||||
r_path_y = np.polyval(l_poly, path_x)
|
||||
|
||||
if pp is not None:
|
||||
p_path_y = np.polyval(pp.pathPlan.dPoly, path_x)
|
||||
p_path_y = np.polyval(pp.pathPlan.dPolyDEPRECATED, path_x)
|
||||
lineP.set_xdata(p_path_y)
|
||||
lineP.set_ydata(path_x)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user