Use Matlab Code within ROS
Dear all,
I am currently investigating several methods for how Matlab code can be used within ROS.
I was able to use rosbridge to exchange data with Matlab. However, this requires a lot of ASCII-parsing on the Matlab side.
Then I found out about the possibility to package Matlab code into C++ shared libraries using the Matlab Compiler toolbox (deploytool). This would have been the ideal solution to my problem since Matlab would not need to be running and still ROS could use the Matlab functionality. However, because Matlab comes with its own Boost libraries integrated (version 1.44) it is not possible to use these shared libraries within ROS (linked against Boost version 1.46 under Ubuntu 12.04). Is there anyone else who tried to use Matlab shared libraries within ROS? And succeeded?
I also found the IPC-Bridge approach (IPC-Bridge) and TU Darmstadt's rosmatlab. However, both will need a running Matlab.
Furthermore, although IPC-Bridge solves the ASCII parsing problem, it is limited to support topic communication. Or has support for services been added already?
As to rosmatlab, linking ROS against Matlab's Boost libraries is not really suitable for my problem as I use other software packages depending on Boost as well. So it would get really nasty.
Anyway, I would like to hear about your experiences with any of the proposed solutions!
Best regards, Felix