필터 지우기
필터 지우기

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

조회 수: 34 (최근 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
Cam Salzberger
Cam Salzberger 2022년 5월 9일
Sounds like it. Are you working off of this example, or using your own call to the PX4 software?
景宇 刘
景宇 刘 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에서 ROS 2 Network Access in Simulink에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by