フィルターのクリア

ROS2 Galactic nodes not shown in Matlab

4 ビュー (過去 30 日間)
Sebastian Brückner
Sebastian Brückner 2022 年 3 月 10 日
コメント済み: Jiawei Shen 2022 年 7 月 25 日
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
Sebastian Brückner 2022 年 3 月 10 日
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 Center および File ExchangeNetwork 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