ROS2 Galactic nodes not shown in Matlab

6 次查看(过去 30 天)
I have multiple Ubuntu PCs running on a LAN. They all run ROS2 Galactic and can exchage topics withot any issues.
A windows PC on the same LAN with Matlab 2022a dooes not find any nodes or topics.
I made sure everything is on the same subnet and all PCs have the same ROS_DOMAIN_ID set. I also walked through the troubleshooting instructions https://de.mathworks.com/matlabcentral/answers/497662-trying-to-connect-to-an-active-node-ros2 with no success.
Is ROS2 Galactic supported and expected to work with Matlab 2022a?
Thanks!

采纳的回答

Sebastian Brückner
I think I can answer my own question: as an experiment, I installed ROS2 Foxy on one of the remote Ubuntu PCs and published a topic from Foxy. Matlab will list that topic and subscribe to it with no issue. Apparently Matlab does not support ROS2 Galactic.
New question: Is there a workaround to get Matlab to talk to Galactic?
  6 个评论
Michael
Michael 2022-6-2
编辑:Michael 2022-6-2
@Sebastian Brückner FYI, I've got ROS2 Galactic installed on my target machine (Ubuntu) and it seems to be talking fine to nodes that run on my Mac within the Matlab Environement.
UPDATE: It seems my Galactic install can see the Matlab generated nodes on the network, but can't see the Matlab services. I just tied changing the matlab cross-DDS middleware which didn't help. I also tried changing it on the Galactic install per your suggestion with no luck.
Can you confirm that you are able able to see both the Matlab generated nodes and services?
Jiawei Shen
Jiawei Shen 2022-7-25
Hi,have you ever tried to make Matlab2021 and ROS2(Galactic) talking successfully?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 ROS 2 Network Connection and Exploration 的更多信息

标签

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by