strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

mongodb_host always set to localhost #160

Closed cdondrup closed 8 years ago

cdondrup commented 8 years ago

Testing the aaf system on Werner, we found a weird error:

In the mongodb launch file the mongodb_host ist set to HOSTNAME with the default of localhost. This however, always uses the default because HOSTNAME seems to be hidden by roslaunch itself. Even removing all the machine tags from the launch files didn't fix this. When using it in a distributed system, this will break the communication with the datacentre.

One solution might be to use ROS_HOSTNAME instead, which seems not to be hidden by roslaunch.