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

ROS 2 Alpha 2 ros1_bridge using DDS between two computers

asked 2015-12-15 12:57:49 -0500

jeremya gravatar image

Has anyone tried the ROS 2 Alpha 2 ros1_bridge (i.e. dynamic_bridge)? Have you tried it between two computers?

In my case, I'd like to use the dynamic bridge on an Ubuntu machine with ROS1 nodes. I'd like to run some ROS 2.0 nodes on a Windows machine. So far I've tried the tutorial ( https://github.com/ros2/ros1_bridge/b... ) for the dynamic_bridge succcesfully on the same machine. When I try two machines I make sure that the network interface that's selected is the one on the same subnet as the other machine. I've read in DDS forums that as long as the machines are on the same subnet with multicast enabled, the topics should pass between the machines.

Machine 1 (Ubuntu with ROS2Alpha2 binaries) - start roscore - start dynamic_bridge - rosrun roscpp_tutorials listener - start echo of the /chatter topic

Machine 2 (Ubuntu with ROS2Alpha2 binaries) - start ROS 2 talker

This setup works on one machine but not between machines on the same subnet with multicast enabled. Is this a limitation of the ROS 2 bridge code?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-15 14:07:49 -0500

jeremya gravatar image

Figured it out. The computer with the ROS 2 talker had two interfaces on the same subnet. After I removed one of the network devices leaving only one interface on the same subnet as the receiving PC, the talker's messages were see by the dynamic_bridge and republished to ROS 1.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-15 12:57:49 -0500

Seen: 693 times

Last updated: Dec 15 '15