[ros-users] New packages: mongodb_store

Nick Hawes n.a.hawes at cs.bham.ac.uk
Thu Oct 23 13:23:47 UTC 2014

I would like to announce the release of a new suite of tools to enable the persistent storage, analysis and retrieval of ROS messages in a MongoDB database. 

The mongodb_store package:


… provides nodes to store arbitrary ROS messages in a MongoDB database, query the database and retrieve messages, with helper classes in C++ and Python (http://wiki.ros.org/mongodb_store#Message_Persistence:_message_store_node.py). Nodes are also available to provide rosbag-like functionality using the same db format (http://wiki.ros.org/mongodb_store#Logging_of_Topics:_mongodb_log) and also parameter persistence across system runs (http://wiki.ros.org/mongodb_store#Parameter_persistence:_config_manager.py). 

Packages are available on Ubuntu for Indigo and Hydro, e.g.

ros-indigo-mongodb-log - The mongodb_log package
ros-indigo-mongodb-store - A package to support MongoDB-based storage and analysis for data from a ROS system, eg. saved messages, configurations etc
ros-indigo-mongodb-store-msgs - The mongodb_store_msgs package

These tools were developed by the STRANDS project (http://strands-project.eu) to support the development, debugging and runtime introspection of long-term autonomous mobile robots, but we hope they will be useful to the ROS community more generally.

In the near future we plan to release tools for serving maps from mongodb_store (see https://github.com/strands-project/strands_navigation/tree/hydro-devel/message_store_map_switcher) and for logging streams of RGB-D data in a compressed format (using https://github.com/strands-project/data_compression). 

Note that there is an overlap in functionality between these tools and warehouse-ros. We developed our own solution as the existing packages appeared to be unsupported and special-purpose, but as this appears to be changing, we may want to look at combining these two packages. 

For feedback, pull requests, feature requests  and bug reports please go to: https://github.com/strands-project/mongodb_store/issues


Dr. Nick Hawes

Senior Lecturer, School of Computer Science, University of Birmingham
www.cs.bham.ac.uk/~nah || +44 121 414 3739 || skype: nickhawes

More information about the ros-users mailing list