Exporting ROS master to a server at another location
Hello! I want to know if it is possible to export ROS master to a server that is sitting in another building. Both the server and my local computer are sitting over the same network at my University and it is possible to ping each over the network. I'm trying to export the ROS master to the server so it can do processing on the information posted to the topics and sending commands back to the local computer. If it is possible to export the ROS master, how would I go about this?
I've tried setting it up as follows:
Server (172.27.15.xx):
export ROS_MASTER_URI=http://172.27.18.xxx:11311
export ROS_HOSTNAME=172.27.15.xx
export ROS_IP = 172.27.15.xx
Local PC (172.27.18.xxx):
export ROS_MASTER_URI=http://172.27.18.xxx:11311
export ROS_HOSTNAME=172.27.18.xxx
export ROS_IP = 172.27.18.xxx
I simply get 'host is not set to this machine' and the ip of the rosmaster is set to localhost.
Thanks in Advance!
Same goes for you: do not set
ROS_IP
andROS_HOSTNAME
both. If you don't have working DNS, useROS_IP
.