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

Revision history [back]

click to hide/show revision 1
initial version

On each machine, you should export ROS_MASTER_URI = http:// master_ip:11311 and export ROS_HOSTNAME = this_machine_ip. For each terminal, these two environment variables should be set, so it's recomanded that you write them in .bashrc .
The former variable is used to tell this machine where the master(roscore) is. The latter variable is used to tell master where this machine is for registering node.

xx should be replaced by your ip conf.Hope this answer helps.

On each machine, you should export ROS_MASTER_URI = http:// master_ip:11311 and export ROS_HOSTNAME = this_machine_ip. For each terminal, these two environment variables should be set, so it's recomanded that you write them in .bashrc .
The former variable is used to tell this machine where the master(roscore) is. The latter variable is used to tell master where this machine is for registering node.

xxxx_ip above should be replaced by your ip conf.Hope this answer helps.