skill_counter_condition
Branches after a certain number of iterations
Defined at line 42 of file skills/skill_idle_duration.xml in package pitasc_library.
Meta data
Categoriessingle_robot, logicPrototypesskill_idle, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
count : intNumber of executions before triggering
Basic parameters:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).repeat_target : stringName of Target skill when condition is NOT reachedcondition_target : stringName of Target skill when condition is reachedDefault: 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([‘monitor_execution_counter’])transitions : list:transitionContains additional transitions to other states (skills), given an event name.Default: odict_keys([‘transition’, ‘transition_no0’])scripts : list:scriptContains scripts that should be executed while the skill is active.
Examples
skill_counter_condition is used in the following examples: