mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 23:42:05 +08:00
ACADOS: partial condensing (#22830)
* partial condense * new refs * new ref * newerest refs
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user