ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ROS2 in two computer

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

Otavio gravatar image

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

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
0

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

rafamrtq gravatar image

Check out this post https://wiki.ros.org/ROS/NetworkSetup maybe is a config issue

edit flag offensive delete link more

Question Tools

4 followers

Stats

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

Seen: 396 times

Last updated: Mar 17 '21