script_error_logger

Logs control_errors (desired vs. measured values)

Defined at line 118 of file scripts/logging.xml in package pitasc_library.

Meta data

Categories
logging
Prototypes
script_measurement_logger, script, object, dictionary, base, descriptive

Parameters

Required parameters:

provider : list:data_source
Data sources that provide the measurements for logging.
file_name : string
Full 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)
controllers : list:controller
Controllers whose control errors are logged.

Basic parameters:

filter : csv:string
Explicit names of the measurements to be logged.
use_simple_filter_keys : bool
Allows to use filter keys without chain (e.g. ‘x’ instead of ‘target_to_tool/x’)
Default: False

Expert parameters:

buffer_length : int
Initial length of the preallocated buffer during logging.
buffer_length = #samples * (#logged_coordinates + 1).
May be extended on the fly.
Default: 512

Examples

script_error_logger is used in the following examples: