Skill set_expression

Sets the expression of the robot. This might include changing the robot’s face, body posture, or other expressive features.

One either sets the expression by name, or by specifying the valence and arousal of the expression.

Input parameters

  • expression.expression string

    Name of the expression. See list_eyes_expressions for details.

    One of:

    • neutral

    • angry

    • sad

    • happy

    • surprised

    • disgusted

    • scared

    • pleading

    • vulnerable

    • despaired

    • guilty

    • disappointed

    • embarrassed

    • horrified

    • skeptical

    • annoyed

    • furious

    • suspicious

    • rejected

    • bored

    • tired

    • asleep

    • confused

    • amazed

    • excited

  • expression.valence float

    The desired valence of the expression, ranging from -1 (very negative) to 1 (very positive).

  • expression.arousal float

    The desired arousal of the expression, ranging from -1 (very calm) to 1 (very excited).

Quick snippets

Call the skill from the command-line

$ ros2 topic pub /skill/set_expression interaction_skills/msg/SetExpression # then press Tab to complete the message prototype

See also