diff --git a/selfdrive/controls/tests/test_lateral_mpc.py b/selfdrive/controls/tests/test_lateral_mpc.py index cdfad05bc4..3c1f3932ff 100644 --- a/selfdrive/controls/tests/test_lateral_mpc.py +++ b/selfdrive/controls/tests/test_lateral_mpc.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") VM = VehicleModel(CP) - v_ref = v_ref curvature_factor = VM.curvature_factor(v_ref) l_poly = libmpc_py.ffi.new("double[4]", list(map(float, p_l))) diff --git a/selfdrive/manager.py b/selfdrive/manager.py index 742b1441d0..59c98a5d5b 100755 --- a/selfdrive/manager.py +++ b/selfdrive/manager.py @@ -475,7 +475,6 @@ def manager_thread(): # Get last sample and exit if dt > 90: - first_proc = first_proc last_proc = messaging.recv_sock(proc_sock, wait=True) cleanup_all_processes(None, None)