Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Taking a step back from the question you've asked and looking at the underlying goal of your application, I think this is a case where you'd want to take advantage of ROS's support for distributed systems. Rather than running separate ROS masters on each machine and trying to communicate between them, you'd run a single ROS master on one machine and tell the second machine how to find the master over the network connection.

There are two tutorials that I've found helpful for figuring out how to do this: Network Setup, and Multiple Machines. The wiki page on the rolaunch xml <machine> tag provides useful info on starting nodes on multiple machines from a single launch file.