script_temp_frame_from_force
Creates a temporary frame from the current force measurements.
The z axis points in the opposite direction of the measured force vector (the usual definition for force control with pitasc). The frame’s position and direction will be updated as long as the script is active.
Includes possibility to filter the input with a first order low pass.
Defined at line 173 of file scripts/geometry.xml in package pitasc_library.
Meta data
CategoriesframesPrototypesscript_temp_frame, script_kinematic_graph, script, object, dictionary, base, descriptive
Parameters
Required parameters:
frame : stringName of the frame to be createdsource : stringName of the frame to be copied
Basic parameters:
on_start : boolExecute the script before or after the skill.Default: Truetf_broadcast : boolBroadcast the frame to TF?Default: Falselow_pass_filter_gain : floatFirst order low pass filter gain (exponential filter). Must be in interval [0:1]. 0 means taking only the previous value, 1 means taking only the new value.Default: 1.0
Expert parameters:
parent : stringName of the parent frame to of ‘frame’wrench_driver : dictBase type for all data sources.
Hidden parameters:
kinematic_graph : dictGraph of kinematic links
Examples
script_temp_frame_from_force is used in the following examples: