Skip to content

A simple MongoDB database for flat collections of ROS messages.

Notifications You must be signed in to change notification settings

jstnhuang/mongo_msg_db

Repository files navigation

mongo_msg_db

Build Status Coverage Status

A simple MongoDB database for flat collections of ROS messages.

Usage

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.

Services

See the service files for the full definitions.

  • mongo_msg_db/delete: delete a message from a collection by ID
  • mongo_msg_db/find: get a single message from a collection by ID
  • mongo_msg_db/insert: insert a message to a collection and get its ID
  • mongo_msg_db/list: get all messages from a collection
  • mongo_msg_db/update: replace a message in a collection

Installation

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

Running

rosrun mongo_msg_db db_node.py

About

A simple MongoDB database for flat collections of ROS messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages