Publish in python, subscribe in matlab
Hello, my team is trying to implement ROS into our robotics lab, however, we have not been able to do this successfully in the last couple of weeks. We have been able to publish messages via python script and then subscribe to receive that message on a python script. We've also done the same, publishing and subscribing only using matlab. Now, we are trying to publish a message from a python script and then subscribe and receive that message in a matlab/simulink script. We are having issues utilizing ROS over multiple languages and have gotten to the point where we wonder if this is even possible. Any advise is much appreciated.
Python and C++ are the two officially supported languages, while all other languages may be supported by the community. Have you looked into the ROS Toolbox for Matlab? https://jp.mathworks.com/help/ros/ref...
If there are both ROS2 and older ROS1 workstations, the
ros1_bridge
could be used as well