Fail to list ros2 topics when ubuntu publish topics with same ros_domain_id and same subnet.

8 次查看(过去 30 天)
Env: Ubuntu 20.04 LTS VM; ROS2-Foxy; Middle DDS Implementation: Fast/Cyclone; Topics published by px4_ros_com.
When i set ros_domain_id=0 both in ubuntu and matlab, it seems that matlab or ubuntu local could list topics with same id. However, when i set ros_domain_id to non-zero value, matlab or ubuntu local could only list topics with id=0. For example, i set ros_domain_id to 25 and pulish topics of px4_msgs, matlab and ubuntu local with ros_domain_id = 0 can list topics instead of ros_domain_id = 25.
  8 个评论
景宇 刘
景宇 刘 2022-5-9
It's my own test. The example of px4 with ros2 in matlab, it tested before with ros_domain_id = 0, and worked fine, others id was same problem.

请先登录,再进行评论。

回答(1 个)

Josh Chen
Josh Chen 2023-1-10
Hi Jingyu,
I hope you've found a solution to this issue. If not, please also feel free to also reach out to our techinical support team, and we can take a closer look.
For people who might face simimlar issue, as Cam pointed, you may also want to check the following to links to see if they can help resolving the issue or narrowing down the root cause:
Thanks,
Josh

类别

Help CenterFile Exchange 中查找有关 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