Ask Your Question

How to install mongodb for ros kinetic ?

asked 2017-06-22 05:39:17 -0600

Jaskirat Singh gravatar image

I want the equivalent of ros-indigo package or some database but I have ros-kinetic. In the sudo apt-get list, the package ros-kinetic-mongodb is not available. So, what shall I do ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-08-28 18:56:38 -0600

I had to install this recently and managed to get it working without too many problems. Using kinetic and a fresh install of Ubuntu 16.04LTS

  1. I installed ros kinetic desktop full and all the panda_moveit_config package
  2. Tried to run 'roslaunch panda_moveit_config demo.launch rviz_tutorial:=true'
  3. This requires the warehouse_ros_mongo package which is not actually released for kinetic on ubuntu
  4. But it can be built from source using
  5. To get the C++ driver for this, ignore their instructions and use

git clone -b releases/legacy git checkout legacy sudo scons --prefix=/usr/local --disable-warnings-as-errors install

This should finish with warnings but not errors.

Then clone warehouse_ros_mongo and build it with catkin make. I had to add


to the CMakeLists.txt file for that package.

You should be able to run roslaunch panda_moveit_config demo.launch db:=true

and connect to the database on the port which is noted in the terminal output.

edit flag offensive delete link more

answered 2017-06-22 14:59:14 -0600

130s gravatar image

updated 2017-06-22 15:31:18 -0600

I want the equivalent of ros-indigo package ... the package ros-kinetic-mongodb is not available

I do not see ros-indigo-mongodb package exists.

If you meant mongodb_store, there's an ongoing discussion for making it into ROS Kinetic. Add your thoughts there, or better yet make a pull request.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-06-22 05:39:17 -0600

Seen: 951 times

Last updated: Jun 22 '17