lgtm fixes (#19610)

* pass matrices by reference

* suppress that

* destructor

* that's wrong, suppress it
This commit is contained in:
Adeeb Shihadeh
2020-12-28 20:36:23 -08:00
committed by GitHub
parent e158014a26
commit 4096f86e21
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ def mpc_vwr_thread(addr="127.0.0.1"):
l_poly = np.array(md.model.leftLane.poly)
r_poly = np.array(md.model.rightLane.poly)
p_path_y = np.polyval(p_poly, path_x)
p_path_y = np.polyval(p_poly, path_x) # lgtm[py/multiple-definition]
l_path_y = np.polyval(r_poly, path_x)
r_path_y = np.polyval(l_poly, path_x)