skill_approach
A skill approaching a target frame in two steps
Defined at line 9 of file skills/skill_approach.xml in package pitasc_library.
Meta data
Categoriessingle_robot, position_controlledPrototypesskill_sequence, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
tool_frame : stringName of the tool frame.target_frame : stringName of the target frame.approach_offsets : csv:floatOffsets of the axes during the approach. Must be the same number of values as for ‘axes’. If no value is provided, 0 is used for all axes.Default: 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
Basic parameters:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).axes : csv:stringList of axes to be aligned.Default: x, y, z, a, b, ctarget_offsets : csv:floatOffsets of the axes to be aligned. Must be the same number of values as for ‘axes’. If no value is provided, 0 is used for all axes.Default: 0.0, 0.0, 0.0, 0.0, 0.0, 0.0max_linear_velocity : floatMax linear velocity.Default: 1.0max_angular_velocity : floatMax angular velocity.Default: 1.5
Expert parameters:
skill_name : stringName of this skill. Must be locally unique.collections : list:collectionContains the kinematic chains of the skill (feature, robot, object chains).loops : list:kinematic_loopContains the kinematic loop(s) that define the task to be solved.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.initial_skill : stringFirst skill to run.skills : list:skillSub-skills that are executed in sequence.Default: odict_keys([‘approach’, ‘target’])linear_controller_gain : floatEquivalent proportional controller in linear region.Default: 3.0angular_controller_gain : floatEquivalent proportional controller in linear region.Default: 3.0approach : skill_linAligns the tool frame with a target frametarget : skill_linAligns the tool frame with a target frame
Examples
skill_approach is used in the following examples: