A simple MongoDB database for flat collections of ROS messages.
Once the database node is running, it provides services for adding messages to a MongoDB database, using the default MongoDB instance. The messages are saved and retrieved in JSON format, which is convenient for web purposes. We recommend using rospy_message_converter to do the conversion between ROS messages and JSON.
See the service files for the full definitions.
mongo_msg_db/delete
: delete a message from a collection by IDmongo_msg_db/find
: get a single message from a collection by IDmongo_msg_db/insert
: insert a message to a collection and get its IDmongo_msg_db/list
: get all messages from a collectionmongo_msg_db/update
: replace a message in a collection
cd ~/catkin_ws/src
git clone https://github.com/jstnhuang/mongo_msg_db_msgs.git
git clone https://github.com/jstnhuang/mongo_msg_db.git
cd ~/catkin_ws/src/mongo_msg_db
pip install -r requirements.txt
cd ~/catkin_ws
rosdep install --from-paths src --ignore-src --rosdistro=indigo -y
catkin build
rosrun mongo_msg_db db_node.py