Ask Your Question
0

How to install mongodb for ros kinetic ?

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

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
0

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

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 https://github.com/ros-planning/wareh...
  5. To get the C++ driver for this, ignore their instructions and use http://mongocxx.org/legacy-v1/install...

git clone -b releases/legacy https://github.com/mongodb/mongo-cxx-... 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

'add_compile_options(-std=c++11)'

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
0

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

130s gravatar image

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

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

2 followers

Stats

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

Seen: 600 times

Last updated: Jun 22 '17