[ros-users] [Discourse.ros.org] [Next Generation ROS] How to…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: bgmoon via ros-users
Date:  
To: ros-users
CC: bgmoon
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] How to run example talker/listener on 2 machines with different ipaddr?


All the machines that will be talking to each other must satisfy two constraints. First, they must all be within the same multicast domain on your network. This is a network setup issue and not strictly a ROS thing. If you don't know how to do that, an alternative is to define the unicast addresses of all the computers that need to communicate with each other in an XML file placed in the directory from which you run the "ros2" command.

Secondly, then they must have the same ROS_DOMAIN_ID. The ROS_DOMAIN_ID is used to segment the network multicast domain into smaller communities that are allowed to talk to each other.





---
[Visit Topic](https://discourse.ros.org/t/how-to-run-example-talker-listener-on-2-machines-with-different-ipaddr/2106/8) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>