fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using IP address instead of hostname to sync masters

mariocorsanici opened this issue · comments

Hello,

I am trying to run multimaster in a docker container and I want to automate the sync procedure between the masters without modifying the /etc/hosts file, since it's a system file. Is it possible to use the IP address instead of the hostname to communicate with the masters?

Hi,
you have to set the ROS_IP environment variable before starting the roscore and other ROS nodes.
This should be enough.

Thank you so much, it worked.