Hi
If you have an issue with acados
and are looking for help here:
- I’m using acados on Matlab
- I want to create a mpc loop for quadcopter
I got this error message:
Error using casadi.Function/generate
.../casadi/core/sx_function.cpp:149: Code generation of 'Qdrone_dyn_expl_ode_fun' is
not possible since variables [dX, dY, dZ, dphi, dtheta, dpsi, u1, u2, u3, u4, theta,
phi] are free.
Error in indexing (line 1753)
[varargout{1:nargout}] = builtin('subsref',self,s);
Error in generate_c_code_explicit_ode (line 185)
expl_ode_fun.generate([model_name,'_expl_ode_fun'], casadi_opts);
Error in ocp_generate_casadi_ext_fun (line 47)
generate_c_code_explicit_ode(model_struct, opts_struct);
Error in acados_ocp (line 205)
ocp_generate_casadi_ext_fun(obj.model_struct, obj.opts_struct);
Error in main_acados_amit (line 100)
ocp = acados_ocp(ocp_model, ocp_opts);
Thank you very much