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

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)

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

Products

Release

R2021b

Tags

Asked:

on 24 Feb 2022

Answered:

on 25 Feb 2022

Community Treasure Hunt

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

Start Hunting!