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

54 views (last 30 days)
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.

Answers (1)

Cam Salzberger
Cam Salzberger on 25 Feb 2022
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

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!