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
Categoriessingle_robot, position_controlledPrototypesskill_cartesian, loop_target, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
reference_frame : stringDefines the reference frame (origin and axes) for the logged cartesian datameasured_frame : stringThe frame which cartesian data is loggedfile_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:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).filter : csv:stringExplicit names of the measurements to be logged.
Expert parameters:
skill_name : stringName of this skill. Must be locally unique.tasks : list:taskContains the task description(s).bounds : list:boundContains the bounds description(s).monitors : list:monitorContains the monitors of the skill that determine when the skill should terminate.transitions : list:transitionContains additional transitions to other states (skills), given an event name.scripts : list:scriptContains scripts that should be executed while the skill is active.Default: odict_keys([‘script_measurement_logger’])buffer_length : intInitial 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:collectionContains the kinematic chains of the skill (feature, robot, object chains).Default: odict_keys([‘collection’, ‘target_to_tool’])loops : list:kinematic_loopContains the kinematic loop(s) that define the task to be solved.Default: odict_keys([‘kinematic_loop’])tool_frame : stringName of the tool frametarget_frame : stringName of the target frame
Examples
skill_log_cartesian is used in the following examples: