From 7b4400f2c644d7db2ec85e6e561b68e0aa6e3f69 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Thu, 24 Aug 2023 06:43:27 +0800 Subject: [PATCH] scons: remove missing MPC headers (#29485) * remove invalid files * Update selfdrive/controls/lib/lateral_mpc_lib/SConscript Co-authored-by: Shane Smiskol * Apply suggestions from code review --------- Co-authored-by: Shane Smiskol old-commit-hash: 55cca6ed2669829a77ce660625b2fc8d73bf02bf --- selfdrive/controls/lib/lateral_mpc_lib/SConscript | 5 ++--- selfdrive/controls/lib/longitudinal_mpc_lib/SConscript | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/selfdrive/controls/lib/lateral_mpc_lib/SConscript b/selfdrive/controls/lib/lateral_mpc_lib/SConscript index 507964efe4..a923baca62 100644 --- a/selfdrive/controls/lib/lateral_mpc_lib/SConscript +++ b/selfdrive/controls/lib/lateral_mpc_lib/SConscript @@ -38,9 +38,8 @@ generated_files = [ f'{gen}/lat_model/lat_expl_vde_adj.c', f'{gen}/lat_model/lat_model.h', - f'{gen}/lat_cost/lat_cost_y_fun.h', - f'{gen}/lat_cost/lat_cost_y_e_fun.h', - f'{gen}/lat_cost/lat_cost_y_0_fun.h', + f'{gen}/lat_constraints/lat_constraints.h', + f'{gen}/lat_cost/lat_cost.h', ] + build_files acados_dir = '#third_party/acados' diff --git a/selfdrive/controls/lib/longitudinal_mpc_lib/SConscript b/selfdrive/controls/lib/longitudinal_mpc_lib/SConscript index 8717bdf89b..c78be70fe3 100644 --- a/selfdrive/controls/lib/longitudinal_mpc_lib/SConscript +++ b/selfdrive/controls/lib/longitudinal_mpc_lib/SConscript @@ -44,10 +44,8 @@ generated_files = [ f'{gen}/long_model/long_expl_vde_adj.c', f'{gen}/long_model/long_model.h', - f'{gen}/long_constraints/long_h_constraint.h', - f'{gen}/long_cost/long_cost_y_fun.h', - f'{gen}/long_cost/long_cost_y_e_fun.h', - f'{gen}/long_cost/long_cost_y_0_fun.h', + f'{gen}/long_constraints/long_constraints.h', + f'{gen}/long_cost/long_cost.h', ] + build_files acados_dir = '#third_party/acados'