Removed self-assignments (#1283)

* Removed self-assignments

* pulled master version of changed cubmodules

* Corrected the submodules

Co-authored-by: BRose98 <b.roseboom@students.uu.nl>
pull/1289/head^2
BRose98 5 years ago committed by GitHub
parent 3db63b781d
commit daba092038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/controls/tests/test_lateral_mpc.py
  2. 1
      selfdrive/manager.py

@ -30,7 +30,6 @@ def run_mpc(v_ref=30., x_init=0., y_init=0., psi_init=0., delta_init=0.,
CP = CarInterface.get_params("HONDA CIVIC 2016 TOURING") CP = CarInterface.get_params("HONDA CIVIC 2016 TOURING")
VM = VehicleModel(CP) VM = VehicleModel(CP)
v_ref = v_ref
curvature_factor = VM.curvature_factor(v_ref) curvature_factor = VM.curvature_factor(v_ref)
l_poly = libmpc_py.ffi.new("double[4]", list(map(float, p_l))) l_poly = libmpc_py.ffi.new("double[4]", list(map(float, p_l)))

@ -475,7 +475,6 @@ def manager_thread():
# Get last sample and exit # Get last sample and exit
if dt > 90: if dt > 90:
first_proc = first_proc
last_proc = messaging.recv_sock(proc_sock, wait=True) last_proc = messaging.recv_sock(proc_sock, wait=True)
cleanup_all_processes(None, None) cleanup_all_processes(None, None)

Loading…
Cancel
Save