skill_user_confirm
Opens a dialog window to receive confirmation from the user.
Defined at line 9 of file skills/skill_user_confirm.xml in package pitasc_library.
Meta data
CategoriesuserPrototypesskill_idle, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Basic parameters:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).title : stringThe event to be triggered on success.Default: Confirmation requiredtext : stringThe event to be triggered on failure.Default: Proceed with application?ignore : boolParameter to ignore this skill and fire the (success) event immediatelyDefault: Falseevent : stringThe event to be triggered on success.Default: succeededreject_event : stringThe event to be triggered on failure.Default: preempted
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_user_confirm’])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.
Examples
skill_user_confirm is used in the following examples: