skill_log_cartesian

Logs position and/or orientation of a frame w.r.t. a reference skill into a file

Defined at line 9 of file skills/logging/skill_logging.xml in package pitasc_library.

Meta data

Categories
single_robot, position_controlled
Prototypes
skill_cartesian, loop_target, skill_single_robot, skill, object, dictionary, base, descriptive

Parameters

Required parameters:

reference_frame : string
Defines the reference frame (origin and axes) for the logged cartesian data
measured_frame : string
The frame which cartesian data is logged
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)

Basic parameters:

robot : dict
Robot that is controlled by the skill (only needs to be set at the application level).
filter : csv:string
Explicit names of the measurements to be logged.

Expert parameters:

skill_name : string
Name of this skill. Must be locally unique.
tasks : list:task
Contains the task description(s).
bounds : list:bound
Contains the bounds description(s).
monitors : list:monitor
Contains the monitors of the skill that determine when the skill should terminate.
transitions : list:transition
Contains additional transitions to other states (skills), given an event name.
scripts : list:script
Contains scripts that should be executed while the skill is active.
Default: odict_keys([‘script_measurement_logger’])
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

Hidden parameters:

collections : list:collection
Contains the kinematic chains of the skill (feature, robot, object chains).
Default: odict_keys([‘collection’, ‘target_to_tool’])
loops : list:kinematic_loop
Contains the kinematic loop(s) that define the task to be solved.
Default: odict_keys([‘kinematic_loop’])
tool_frame : string
Name of the tool frame
target_frame : string
Name of the target frame

Examples

skill_log_cartesian is used in the following examples: