ACADOS: partial condensing (#22830)

* partial condense

* new refs

* new ref

* newerest refs
old-commit-hash: 35d6ed1014
vw-mqb-aeb
HaraldSchafer 4 years ago committed by GitHub
parent 2bbceb0b29
commit caa01d2f95
  1. 1
      selfdrive/controls/lib/lateral_mpc_lib/lat_mpc.py
  2. 1
      selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
  3. 2
      selfdrive/test/process_replay/ref_commit

@ -98,6 +98,7 @@ def gen_lat_mpc_solver():
ocp.solver_options.integrator_type = 'ERK'
ocp.solver_options.nlp_solver_type = 'SQP_RTI'
ocp.solver_options.qp_solver_iter_max = 1
ocp.solver_options.qp_solver_cond_N = N//4
# set prediction horizon
ocp.solver_options.tf = Tf

@ -166,6 +166,7 @@ def gen_long_mpc_solver():
ocp.solver_options.hessian_approx = 'GAUSS_NEWTON'
ocp.solver_options.integrator_type = 'ERK'
ocp.solver_options.nlp_solver_type = 'SQP_RTI'
ocp.solver_options.qp_solver_cond_N = N//4
# More iterations take too much time and less lead to inaccurate convergence in
# some situations. Ideally we would run just 1 iteration to ensure fixed runtime.

@ -1 +1 @@
72bf5e2fc5628714a9bbb7cc641954735264f022
d81233677d9987d7645962ff4a076bafd94f83e3
Loading…
Cancel
Save