coin-or / qpOASES

Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
385 stars 129 forks source link

Include qpOASES C++ to a simulink model. #79

Open svigerske opened 4 years ago

svigerske commented 4 years ago

Issue created by migration from Trac.

Original creator: Soheils

Original creation time: 2017-11-27 07:35:56

Assignee: ferreau

Version: 3.2.1

Hi, I am designing a MPC as a lateral controller for a vehicle-model, and need to include qpOASES C++ to a simulink model and Build model for embedded coder. I can run-simulation inside simulink with adding coder.extrinsic('qpOASES_options'); coder.extrinsic('qpOASES'); but cannot do "build model" How can I call C++-codes from Simulink as we do for instance: XPCTARGET? Regards Soheil

juri1986 commented 4 years ago

Hello,

any progress on this topic? I was trying to generate code of qpOASES SQ_Problem for XPC Target by using Simulink and was not able to compile the generated code when including the C++ libraries.

Thanks Juraj