nicolapiccinelli / libmpc

libmpc++ is a C++ header-only library to solve linear and non-linear MPC
https://altairlab.gitlab.io/optcontrol/libmpc/
MIT License
126 stars 20 forks source link

Could you provide ROS + libmpc example? #26

Closed sm3304love closed 5 months ago

sm3304love commented 6 months ago

Hello! I am a student trying to implement motion planning using NMPC. The libmpc library looks appealing, but I am unable to use it because the C++ versions between ROS and libmpc do not match. I saw an answer to a similar question that suggested using Pluginlib, but unfortunately, I do not know how to import a library into a code using Pluginlib. Could you please share an example of using libmpc in ROS through Pluginlib?

nicolapiccinelli commented 6 months ago

Hello @sm3304love, can you provide some information about your setup? ROS version, OS, compiler version etc.

sm3304love commented 6 months ago

Hello @sm3304love, can you provide some information about your setup? ROS version, OS, compiler version etc.

Yes. My setup information is as follows.

If you need any more information, please let me know!

nicolapiccinelli commented 6 months ago

I will send you something soon

sm3304love commented 5 months ago

I will send you something soon

Thank you! My email address is in my github profile if you need it

nicolapiccinelli commented 5 months ago

Check your inbox