Skill replay_motion

  • Version: 1.1.0

  • Default path: /skill/replay_motion

  • Datatype: motion_skills_action_ReplayMotion.action

  • Definition source: package.xml in ros4hri/motions_skills

Execute a pre-recorded motion. Can be used, for instance, to perform prerecorded gestures, or going to preset postures.

Input parameters

  • name std_msgs/msg/String, required

    The name of the motion to execute. The name must be one of the names returned by the skill list_motions.

  • unsafe bool, default: False

    If true, skip collision checks. If false (default), the skill implementation is expected to ensure that the motion execution is safe (for instance, it does not generate collisions).

  • meta.priority integer, default: 128

    Between 0 and 255. Higher means this skill request will be prioritized.

Quick snippets

Call the skill from the command-line

$ ros2 action send_goal /skill/replay_motion motion_skills/action/ReplayMotion.action # then press Tab to complete the message prototype

See also