ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROS2 in two computer

asked 2021-03-16 12:47:59 -0600

Otavio gravatar image

updated 2021-03-17 12:06:22 -0600

I have two machines on a local network, one with a docker (in Windows) and the other an ubuntu server fossa (in raspberry). Is it possible for the two to communicate via ros2 (I'm using foxy)? I can't to see the nodes of one PC to the other :/

On my docker I run:

docker run --net host -it osrf / ros: foxy-desktop

And in my RASP:

ros2 topic pub /barbarians std_msgs/String "data: Hello World!"

so, in the docker I run:

ros2 topic lis

And I don't see barbarians topic

Update: I tested ros2 foxy on ubuntu OS with docker and it worked, I believe Windows is somehow blocking communication.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-17 13:19:13 -0600

rafamrtq gravatar image

Check out this post maybe is a config issue

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-03-16 12:47:59 -0600

Seen: 235 times

Last updated: Mar 17 '21