skill_guarded_sequence
A skill that stops execution of the sub-skills if a specific force is detected.
Defined at line 9 of file skills/skill_guarded_sequence.xml in package pitasc_library.
Meta data
Categoriessingle_robot, force_controlled, compositionPrototypesskill_concurrency, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
protected_skills : list:skillSub-skills that are executed in sequence.
Basic parameters:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).force_measurement_frame : stringThe frame in which the force is detected.max_forces : csv:floatForces in [N].Default: 10.0, 10.0, 10.0monitor_axes : csv:stringThe directions that are monitored for occuringforces (can be multiple axes).Default: x, y, zevent : stringThe event to be triggered when force limit isreached.Default: succeeded
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.Default: odict_keys([‘force_threshold’])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.skills : list:skillSub-skills that are executed simultaneously.Default: odict_keys([‘seq_skill’, ‘force_skill’])force_skill : skill_forceModels a loop for force controlseq_skill : skill_sequenceList of skills which are executed in sequence.
Examples
skill_guarded_sequence is used in the following examples: