Ask Your Question

How to record data from rostopics using MongoDB

asked 2018-08-02 07:49:54 -0600

dkrivet gravatar image

I have installed the mongodb_store package on my jackal clearpath robot (Ubuntu 14.04) running ros-indigo, and I have started the mongoldb_server by running the commands:

rosparam set mongodb_port 62345
rosparam set mongodb_host car-j100-0101
rosrun mongodb_store

and in the terminal I get a message saying: "[INFO] [WallTime:...] The Aug 2 08:40:27.317 [initandlisten] waiting for connections on port 62345" and nothing else happens after this. Ideally I want to use mongodb_store to store the data that is being published on all of the rostopics on my jackal.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-02 07:54:16 -0600

gvdhoorn gravatar image

If mongodb_store is the package documented at wiki/mongodb_store, I believe the sections 4, 5 and further document the usage.

Do the example command lines not work for you?

edit flag offensive delete link more


I tried install mongodb_log from GitHub then using make but it didn't work. Am i able to install through apt-get install ros-indigo-mongodb-log?

dkrivet gravatar image dkrivet  ( 2018-08-02 08:03:08 -0600 )edit

So i have installed mongodb_log by doing: sudo apt-get install ros-indigo-mongodb-log but when I run the command rosrn mongodb_log mongodb_log -a as it states on the wiki I get an error saying "Found the following, but they're either not files, or not executable: /opt/ros/indigo/share/mongodb_lg

dkrivet gravatar image dkrivet  ( 2018-08-02 08:07:36 -0600 )edit

I've not used this myself, but I believe the script's name is Not mongodb_log. I know the latter is what the wiki states, but installing the pkg and checking myself I only see a

gvdhoorn gravatar image gvdhoorn  ( 2018-08-02 08:20:51 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2018-08-02 07:49:54 -0600

Seen: 239 times

Last updated: Aug 02 '18