In this day, I have try to communicate two ROS, ARM linux board on robot with ROS on pc.

The official guide on website “Running ROS across multiple machines” doesn’t explain correct order to configure ROS systems, in fact if we send a packet using rostopic this doesn’t work.

On answer ROS I have found the correct order to configure ROS.

For ROS master:

$ ssh master
$ roscore
$ export ROS_MASTER_URI=http://MASTER_IP:11311
$ export ROS_IP=MASTER_IP
$ rosrun ...

For ROS slave:

$ ssh slave
$ export ROS_MASTER_URI=http://MASTER_IP:11311
$ export ROS_IP=SLAVE_IP
$ rosrun ...

Other information about Environment Variables.

Copyright © 2013. All Rights Reserved.

Categories: ROS

Raffaello Bonghi

I'm a System Engineer and I was born in 1986 in Rome, Italy. I've long experience in robotics, both for academic carrier and hobby, let I've gained a significant skill in this field from my experiences in different kind of robotics.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.