skill_log_force
Logs a force/torque in a desired frame into a file
Defined at line 77 of file skills/logging/skill_logging.xml in package pitasc_library.
Meta data
Categoriessingle_robot, force_controlledPrototypesskill_force, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
force_frame : stringFrame defining the desired position and axes for measuring force and torquefile_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’])force_sensor : dictForce sensor that provides the wrench measurement.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([‘force_chain’, ‘object_chains’])loops : list:kinematic_loopContains the kinematic loop(s) that define the task to be solved.Default: odict_keys([‘kinematic_loop’])
Examples
skill_log_force is used in the following examples: