mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-28 04:13:52 +08:00
627 lines
12 KiB
JSON
627 lines
12 KiB
JSON
{
|
|
"acados_include_path": "/data/openpilot/third_party/acados/include",
|
|
"acados_lib_path": "/data/openpilot/third_party/acados/lib",
|
|
"code_export_directory": "/data/openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code",
|
|
"constraints": {
|
|
"C": [],
|
|
"C_e": [],
|
|
"D": [],
|
|
"constr_type": "BGH",
|
|
"constr_type_e": "BGH",
|
|
"idxbu": [],
|
|
"idxbx": [],
|
|
"idxbx_0": [
|
|
0,
|
|
1,
|
|
2
|
|
],
|
|
"idxbx_e": [],
|
|
"idxbxe_0": [
|
|
0,
|
|
1,
|
|
2
|
|
],
|
|
"idxsbu": [],
|
|
"idxsbx": [],
|
|
"idxsbx_e": [],
|
|
"idxsg": [],
|
|
"idxsg_e": [],
|
|
"idxsh": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"idxsh_e": [],
|
|
"idxsphi": [],
|
|
"idxsphi_e": [],
|
|
"lbu": [],
|
|
"lbx": [],
|
|
"lbx_0": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"lbx_e": [],
|
|
"lg": [],
|
|
"lg_e": [],
|
|
"lh": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"lh_e": [],
|
|
"lphi": [],
|
|
"lphi_e": [],
|
|
"lsbu": [],
|
|
"lsbx": [],
|
|
"lsbx_e": [],
|
|
"lsg": [],
|
|
"lsg_e": [],
|
|
"lsh": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"lsh_e": [],
|
|
"lsphi": [],
|
|
"lsphi_e": [],
|
|
"ubu": [],
|
|
"ubx": [],
|
|
"ubx_0": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"ubx_e": [],
|
|
"ug": [],
|
|
"ug_e": [],
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
|
0.0,
|
|
0.0
|
|
]
|
|
],
|
|
"W_e": [
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
],
|
|
"Zl": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"Zl_e": [],
|
|
"Zu": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"Zu_e": [],
|
|
"cost_ext_fun_type": "casadi",
|
|
"cost_ext_fun_type_0": "casadi",
|
|
"cost_ext_fun_type_e": "casadi",
|
|
"cost_type": "NONLINEAR_LS",
|
|
"cost_type_0": "NONLINEAR_LS",
|
|
"cost_type_e": "NONLINEAR_LS",
|
|
"yref": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"yref_0": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"yref_e": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"zl": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"zl_e": [],
|
|
"zu": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"zu_e": []
|
|
},
|
|
"cython_include_dirs": "/usr/local/pyenv/versions/3.11.4/lib/python3.11/site-packages/numpy/core/include",
|
|
"dims": {
|
|
"N": 12,
|
|
"nbu": 0,
|
|
"nbx": 0,
|
|
"nbx_0": 3,
|
|
"nbx_e": 0,
|
|
"nbxe_0": 3,
|
|
"ng": 0,
|
|
"ng_e": 0,
|
|
"nh": 4,
|
|
"nh_e": 0,
|
|
"np": 6,
|
|
"nphi": 0,
|
|
"nphi_e": 0,
|
|
"nr": 0,
|
|
"nr_e": 0,
|
|
"ns": 4,
|
|
"ns_e": 0,
|
|
"nsbu": 0,
|
|
"nsbx": 0,
|
|
"nsbx_e": 0,
|
|
"nsg": 0,
|
|
"nsg_e": 0,
|
|
"nsh": 4,
|
|
"nsh_e": 0,
|
|
"nsphi": 0,
|
|
"nsphi_e": 0,
|
|
"nu": 1,
|
|
"nx": 3,
|
|
"ny": 6,
|
|
"ny_0": 6,
|
|
"ny_e": 5,
|
|
"nz": 0
|
|
},
|
|
"model": {
|
|
"dyn_disc_fun": null,
|
|
"dyn_disc_fun_jac": null,
|
|
"dyn_disc_fun_jac_hess": null,
|
|
"dyn_ext_fun_type": "casadi",
|
|
"dyn_source_discrete": null,
|
|
"gnsf": {
|
|
"nontrivial_f_LO": 1,
|
|
"purely_linear": 0
|
|
},
|
|
"name": "long"
|
|
},
|
|
"parameter_values": [
|
|
-1.2,
|
|
1.2,
|
|
0.0,
|
|
0.0,
|
|
1.45,
|
|
0.75
|
|
],
|
|
"problem_class": "OCP",
|
|
"simulink_opts": {
|
|
"inputs": {
|
|
"cost_W": 0,
|
|
"cost_W_0": 0,
|
|
"cost_W_e": 0,
|
|
"lbu": 1,
|
|
"lbx": 1,
|
|
"lbx_0": 1,
|
|
"lbx_e": 1,
|
|
"lg": 1,
|
|
"lh": 1,
|
|
"parameter_traj": 1,
|
|
"reset_solver": 0,
|
|
"u_init": 0,
|
|
"ubu": 1,
|
|
"ubx": 1,
|
|
"ubx_0": 1,
|
|
"ubx_e": 1,
|
|
"ug": 1,
|
|
"uh": 1,
|
|
"x_init": 0,
|
|
"y_ref": 1,
|
|
"y_ref_0": 1,
|
|
"y_ref_e": 1
|
|
},
|
|
"outputs": {
|
|
"CPU_time": 1,
|
|
"CPU_time_lin": 0,
|
|
"CPU_time_qp": 0,
|
|
"CPU_time_sim": 0,
|
|
"KKT_residual": 1,
|
|
"solver_status": 1,
|
|
"sqp_iter": 1,
|
|
"u0": 1,
|
|
"utraj": 0,
|
|
"x1": 1,
|
|
"xtraj": 0
|
|
},
|
|
"samplingtime": "t0"
|
|
},
|
|
"solver_options": {
|
|
"Tsim": 0.06944444444444445,
|
|
"alpha_min": 0.05,
|
|
"alpha_reduction": 0.7,
|
|
"collocation_type": "GAUSS_LEGENDRE",
|
|
"eps_sufficient_descent": 0.0001,
|
|
"exact_hess_constr": 1,
|
|
"exact_hess_cost": 1,
|
|
"exact_hess_dyn": 1,
|
|
"ext_cost_num_hess": 0,
|
|
"full_step_dual": 0,
|
|
"globalization": "FIXED_STEP",
|
|
"globalization_use_SOC": 0,
|
|
"hessian_approx": "GAUSS_NEWTON",
|
|
"hpipm_mode": "BALANCE",
|
|
"initialize_t_slacks": 0,
|
|
"integrator_type": "ERK",
|
|
"levenberg_marquardt": 0.0,
|
|
"line_search_use_sufficient_descent": 0,
|
|
"model_external_shared_lib_dir": null,
|
|
"model_external_shared_lib_name": null,
|
|
"nlp_solver_max_iter": 100,
|
|
"nlp_solver_step_length": 1.0,
|
|
"nlp_solver_tol_comp": 1e-06,
|
|
"nlp_solver_tol_eq": 1e-06,
|
|
"nlp_solver_tol_ineq": 1e-06,
|
|
"nlp_solver_tol_stat": 1e-06,
|
|
"nlp_solver_type": "SQP_RTI",
|
|
"print_level": 0,
|
|
"qp_solver": "PARTIAL_CONDENSING_HPIPM",
|
|
"qp_solver_cond_N": 1,
|
|
"qp_solver_iter_max": 10,
|
|
"qp_solver_tol_comp": 0.001,
|
|
"qp_solver_tol_eq": 0.001,
|
|
"qp_solver_tol_ineq": 0.001,
|
|
"qp_solver_tol_stat": 0.001,
|
|
"qp_solver_warm_start": 0,
|
|
"regularize_method": null,
|
|
"sim_method_jac_reuse": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sim_method_newton_iter": 3,
|
|
"sim_method_num_stages": [
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4,
|
|
4
|
|
],
|
|
"sim_method_num_steps": [
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"tf": 10.0,
|
|
"time_steps": [
|
|
0.06944444444444445,
|
|
0.20833333333333334,
|
|
0.3472222222222222,
|
|
0.48611111111111116,
|
|
0.6250000000000002,
|
|
0.7638888888888886,
|
|
0.9027777777777786,
|
|
1.041666666666666,
|
|
1.1805555555555554,
|
|
1.3194444444444455,
|
|
1.4583333333333313,
|
|
1.5972222222222232
|
|
]
|
|
}
|
|
} |