Table of Contents
ROS data logging
This page describes the logging part of the system. The recorded log files can be queried from the KnowRob knowledge base, and documentation on the predicates to be used can be found there.
The logger is a modified version of the original mongodb_log package by Tim Niemueller.
Installation
- Install the mongodb database and additional tools as system dependencies:
sudo apt-get install mongodb-dev python-pymongo python-pyrrd
- Add the following lines to the .rosinstall file in your catkin workspace:
- git: {local-name: iai_common_msgs, uri: 'git@github.com:code-iai/iai_common_msgs.git'} - git: {local-name: designator_integration, uri: 'git@github.com:code-iai/designator_integration.git'}
- Check out and compile the repositories:
cd ~/catkin_ws wstool update cd .. catkin_make
- Add the following lines to the .rosinstall file in your rosbuild workspace:
- git: {local-name: mongodb_log, uri: 'git@github.com:code-iai/ros-mongodb_log.git'}
- Compile the mongodb logger:
rosmake mongodb_log
Usage
- Start the logger using rosrun or roslaunch and give the list of topics as arguments, e.g.
rosrun mongodb_log mongodb_log /tf