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

Added ability for message store to use a full connection string #259

Closed hawesie closed 4 years ago

hawesie commented 4 years ago

I am in the process of moving some of our code to AWS RoboMaker and this will benefit from having an instance of mongodb store running backed by a cloud-based mongodb instance. I have therefore added the ability for this to happen. It's been somewhat hacked in to touch as little of the current code as possible. It works as follows:

roslaunch mongodb_store mongodb_store.launch use_daemon:=true connection_string:="mongodb+srv://user:pass@cluster0-mongodb.net/test?retryWrites=true&w=majority"

Note that if used with this option, the mongodb_host and mongodb_port ros parameters should not be trusted.