Plug-in Description

Functionality

This plug-in records tf transforms to an sqlite3 database. It stores the transformations in a table in order to allow for indexing over the transforms. The plug-in exposes its functionality as C++ methods an a service call. Spatial indexing requires the tf frames to be relative to a common frame. Thus, the plug-in transforms all frames into a reference frame before storing them in the database.

The performance of the sqlite database is not high enough to record tf frames at their full rate in most cases. Therefore, the plug-in has support for recording only transforms at a maximal rate.

Services

Services
These are the services that tf_recorder_plugin exposes.
lookup_transform (tf_recorder_plugin/LookupRecordedTransform)
  • This service allows to lookup a recorded transformation.

Parameters

Parameters
Parameters used to configure tf_recorder_plugin
reference_frame (string, default: /map)
  • The reference frame all messages are transformed to before storing them in the database.
tf_topic (string, default: /tf)
  • The topic to record.
record (bool, default: true)
  • Enable recording of frames. If false, the database is unchanged.
record_frequency (double, default: 0.0)
  • The maximal frequency of tf frames to record. If 0.0, the plug-in records as fast as possible.

Wiki: tf_recorder_plugin (last edited 2010-07-11 13:03:15 by Lorenz Mösenlechner)