Thanks a lot for your work. In Matlab version of this project, it seems the 'DM' function appearing in 'LocomotionMPC_qpoases.m' has not been included. Here is the error message when I run the simulink model 'Hector_Simulation.slx'. (My environment is Matlab R2023a in Linux).
An error occurred while running the simulation and the simulation was terminated
Caused by:
Error due to multiple causes.
Undefined function 'DM' for input arguments of type 'double'.
Error evaluating MATLAB function in '[Hector_Simulation/Controllers/MPC Stance-leg/MPC controller](matlab:open_and_hilite_hyperlink ('Hector_Simulation/Controllers/MPC Stance-leg/MPC controller','error'))'
Component:Simulink | Category:Model error
Could you help me to solve this problem? Many thanks!
Thanks a lot for your work. In Matlab version of this project, it seems the 'DM' function appearing in 'LocomotionMPC_qpoases.m' has not been included. Here is the error message when I run the simulink model 'Hector_Simulation.slx'. (My environment is Matlab R2023a in Linux).
An error occurred while running the simulation and the simulation was terminated Caused by: Error due to multiple causes. Undefined function 'DM' for input arguments of type 'double'. Error evaluating MATLAB function in '[Hector_Simulation/Controllers/MPC Stance-leg/MPC controller](matlab:open_and_hilite_hyperlink ('Hector_Simulation/Controllers/MPC Stance-leg/MPC controller','error'))' Component:Simulink | Category:Model error
Could you help me to solve this problem? Many thanks!