Skill look_at

Defines the gazing direction of the robot. This skill can be used to either look at a specific point in space (a ROS tf frame), or to set a generic gaze policy, such as looking at people around the robot.

Using the glance policy, you can also use this skill to brielfy look at a specific point in space, before returning to the previous gaze policy.

Input parameters

  • policy string

    One of the policies below, or empty string (in that case, the robot will look atpoint in space specified with the target parameter).

    Available policies:

    • random: randomly look around, with short fixations

    • social: look around for faces, with fixations on detected faces

    • glance: glance at a specific point in space, then return to the previous gaze policy. target must be specified.

    • auto: automatic gaze policy, implementation-dependent. On PAL interactive robots, equivalent to social.

    • reset: reset the gaze of the robot to looking straight.

  • target geometry_msgs/msg/PointStamped

    tf frame to track. Ignored if the policy parameter is set to one of the predefined policies.

Quick snippets

Call the skill from the command-line

$ ros2 action send_goal /skill/look_at interaction_skills/action/LookAt # then press Tab to complete the message prototype

See also