(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Running the warehouse

Description: How to start up and configure the Mongo DB server

Tutorial Level: BEGINNER

The mongodb system dependency of warehouse_ros includes the mongod executable, which runs a MongoDB server. For convenience, we provide a wrapper that starts up this server and sets some configuration parameters from the ROS parameter server.

Using the Command Line

To start the server from the command line:

$ rosrun warehouse_ros_mongo mongo_wrapper_ros.py

Using a Launch File

Alternatively, here's an example of starting the server from a launch file and setting some parameters (the full list of parameters is in the package documentation).


  <node name="mongo" type="mongo_wrapper_ros.py" pkg="warehouse_ros_mongo">
    <param name="overwrite" value="true"/>
    <param name="database_location" value="/path/to/my/db"/>

  <param name="warehouse_port" value="27019"/>

Wiki: warehouse_ros/Tutorials/Running the warehouse (last edited 2022-09-07 12:00:51 by IsaacSaito)