Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:logging:roslog [2014/02/18 12:26] tenorthdoc:logging:roslog [2014/04/17 12:17] (current) – [ROS data logging] tenorth
Line 1: Line 1:
 ====== ROS data logging ====== ====== 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 [[TODO|there]].+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 [[http://knowrob.org/doc/reasoning_about_logged_experiences|there]].
  
  
 +
 +The logger is a modified version of the original [[https://github.com/timn/ros-mongodb_log|mongodb_log package by Tim Niemueller]].
  
 ===== Installation ===== ===== Installation =====
  
-  * Install the mongodb database: sudo apt-get install mongodb-dev +  * Install the mongodb database and additional tools as system dependencies<code> 
-  * +    sudo apt-get install mongodb-dev python-pymongo python-pyrrd</code> 
 + 
 +  * Add the following lines to the .rosinstall file in your **catkin workspace**: <code> 
 +  - 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'}</code> 
 +   
 +  * Check out and compile the repositories:<code> 
 +  cd ~/catkin_ws 
 +  wstool update 
 +  cd .. 
 +  catkin_make</code> 
 + 
 +  * Add the following lines to the .rosinstall file in your **rosbuild workspace**: <code> 
 +  - git: {local-name: mongodb_log, uri: 'git@github.com:code-iai/ros-mongodb_log.git'}</code> 
 + 
 +  * Compile the mongodb logger:<code> 
 +  rosmake mongodb_log</code> 
 +   
 +===== Usage ===== 
 +  * Start the logger using rosrun or roslaunch and give the list of topics as arguments, e.g.<code> 
 +  rosrun mongodb_log mongodb_log /tf</code>