Configuring CycloneDDS for communication with ROS 2 in Docker Container
41 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm using the Matlab ROS Toolbox in combination with ROS 2 running inside of WSL2+Docker. For different reasons I'm using CycloneDDS as the middleware.
The issue is, that I can neither discover Matlab topics from Docker nor Docker topics from Matlab.
I've tried to configure CycloneDDS similar to how FastDDS is configured here. However, I can't figure out how to tell Matlab which config file to use for CycloneDDS.
The issues pesists with the docker containers running both on net=host as well as net=bridge. Also the discovery seems to work with Maltab using FastDDS (which is not a feasible solution for me).
I appreciate any help on this topic!
ROS Distro: Iron
2 个评论
Abhishek
2024-10-3
This could be an issue due to cross-distro communication. May I know what MATLAB version are you using?
回答(2 个)
Supraja
2024-9-9
Hello Ansgar,
I understand that you are using MATLAB ROS Toolbox with ROS 2 and using Cyclone DSS as an intermediate.
Please find the documentation links below which will guide you in using the ROS toolbox:
ROS Toolbox: https://in.mathworks.com/help/ros/
Work with ROS2 messages:https://in.mathworks.com/help/ros/ug/work-with-basic-ros-2-messages.html
Examples of ROS Toolbox: https://in.mathworks.com/help/ros/examples.html?category=robots-and-simulators
I hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!