Hi all!
I’m compiling my MPC with the newer version of Acados, but I run into this error:
Error using render_file
rendering acados_solver_sfun.in.c failed.
command: C:\Users\samue\acados\bin\t_renderer.exe "C:\Users\samue\acados\interfaces\acados_template\acados_template\c_templates_tera\matlab_templates\**\*" "acados_solver_sfun.in.c"
"C:\Users\samue\Documents\Ferrari\Matlab\Linear_MPC_with_Slacks\acados_ocp_nlp.json" "acados_solver_sfunction_mixed_dynamics_with_slacks.c"
returned status 1, got result:
Error: Failed to render 'acados_solver_sfun.in.c'
Reason: Variable `nz_total` not found in context while rendering 'acados_solver_sfun.in.c'
Error in AcadosOcp/render_templates (line 953)
render_file( in_file, out_file, json_fullfile )
Error in AcadosOcpSolver (line 65)
ocp.render_templates()
Error in Linear_MPC_FULLM_mixed_dynamics_StbdExtension (line 644)
ocp_solver = AcadosOcpSolver(ocp);
I have no idea how to solve this issue. Any suggestion?
Thanks
Samuele