script_measurement_logger
Logs internal measurements to a file.
Defined at line 62 of file scripts/logging.xml in package pitasc_library.
Meta data
CategoriesloggingPrototypesscript, object, dictionary, base, descriptive
Parameters
Required parameters:
provider : list:data_sourceData sources that provide the measurements for logging.file_name : stringFull path and name (incl. extension) of logging file.Non-existing directories are created.The following artifacts (enclosed by curly brackets) are dynamically resolved:‘{rospkg (..)]}’: full path to rospackge (..) (cf. roscd);‘{time (..)}’: current time with respective formating (..) (cf. std::strftime)
Basic parameters:
filter : csv:stringExplicit names of the measurements to be logged.use_simple_filter_keys : boolAllows to use filter keys without chain (e.g. ‘x’ instead of ‘target_to_tool/x’)Default: False
Expert parameters:
buffer_length : intInitial length of the preallocated buffer during logging.buffer_length = #samples * (#logged_coordinates + 1).May be extended on the fly.Default: 512
Examples
script_measurement_logger is used in the following examples: