Hi Jonathan,
thank you for the quick reply and update.
It’s not complaining about DAQP anymore, but now I get the following error when running the getting_started/minimal_example_closed_loop
file:
Constraint detection for path constraints.
constraint 1 is reformulated as bound on u.
F
compiling C:\Users\PBM\Desktop\Posao\Razno\acados\examples\acados_matlab_octave\..\..\interfaces\acados_matlab_octave\ocp_get_cost.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling C:\Users\PBM\Desktop\Posao\Razno\acados\examples\acados_matlab_octave\..\..\interfaces\acados_matlab_octave\ocp_get.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling C:\Users\PBM\Desktop\Posao\Razno\acados\examples\acados_matlab_octave\..\..\interfaces\acados_matlab_octave\ocp_eval_param_sens.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
acados MEX interface compiled successfully
Warning: cost_y_ref not defined for ocp json.
Using zeros(ny,1) by default.
> In set_up_acados_ocp_nlp_json (line 437)
In acados_ocp (line 202)
In minimal_example_closed_loop (line 125)
Warning: cost_y_ref_0 not defined for ocp json.
Using zeros(ny_0,1) by default.
> In set_up_acados_ocp_nlp_json (line 454)
In acados_ocp (line 202)
In minimal_example_closed_loop (line 125)
Warning: cost_y_ref_e not defined for ocp json.
Using zeros(ny_e,1) by default.
> In set_up_acados_ocp_nlp_json (line 470)
In acados_ocp (line 202)
In minimal_example_closed_loop (line 125)
dy_dz =
[]
u =
[]
Successfully rendered acados templates!
compiling acados_mex_create_pendulum.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling acados_mex_free_pendulum.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling acados_mex_solve_pendulum.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling acados_mex_set_pendulum.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
delete template...
Warning: The following error was caught while executing 'pendulum_mex_solver' class destructor:
Error using cd
Path must be a text scalar.
Error in pendulum_mex_solver/delete (line 64)
cd(obj.code_gen_dir);
Error in pendulum_mex_solver (line 49)
make_mex_pendulum();
Error in acados_ocp (line 212)
obj.t_ocp = mex_solver();
Error in minimal_example_closed_loop (line 125)
ocp = acados_ocp(ocp_model, ocp_opts);
> In pendulum_mex_solver (line 49)
In acados_ocp (line 212)
In minimal_example_closed_loop (line 125)
Invalid MEX-file
'C:\Users\PBM\Desktop\Posao\Razno\acados\examples\acados_matlab_octave\getting_started\c_generated_code\acados_mex_create_pendulum.mexw64':
The specified module could not be found.
Error in pendulum_mex_solver (line 50)
obj.C_ocp = acados_mex_create_pendulum();
Error in acados_ocp (line 212)
obj.t_ocp = mex_solver();
Error in minimal_example_closed_loop (line 125)
ocp = acados_ocp(ocp_model, ocp_opts);
This error seems familiar from other topics on the forum so I will take a look into it. The mentioned .mexw64
file is in the right place.
Making the same changes here and here didn’t help. When the solver is set to full_condensing_daqp
, MATLAB crashes.
Best regards,
Josip