Fail to use ros2 node list to see the node run in another ubuntu machine~

52 ビュー (過去 30 日間)
Shipeng Liu
Shipeng Liu 2022 年 2 月 24 日
回答済み: Cam Salzberger 2022 年 2 月 25 日
I set the ROS_DOMAIN_ID = 1 in both machine.
Then I use ros2 node list to see the node run in ubuntu machine~
However, it returns nothing.
By the way , I can ping the ubuntu machine in windows.

回答 (1 件)

Cam Salzberger
Cam Salzberger 2022 年 2 月 25 日
Hello Shipeng,
ROS 2 requires that the machines be on the same subnet, or explicitly include each other in the same network. See some details in my answer here (as well as other troubleshooting steps).
-Cam

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by