Animate
Animate Arms
-
Description: Animate both of the robot's arms.
-
Args:
- anim_name (ArmAnimations): The name of the animation to play.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Animate Arm
-
Description: Animate one of the robot's arms.
-
Args:
- anim_name (ArmAnimations): The name of the animation to play.
- arm (Arm): The arm to animate.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Arms Down
-
Description: Move the robot's arms down.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Wiggle Ears
-
Description: Wiggle the ears back and forth. ⚠️ Note:
synchronize_earsmay produce unexpected behavior depending on the chosen range. -
Args:
- min_range (float): Minimum wiggle range in
[0.0, 1.0]. Defaults to0.5. - max_range (float): Maximum wiggle range in
[0.0, 1.0]. Defaults to1.0. - rounds (int): Number of back-and-forth motions. Defaults to
3. - synchronize_ears (bool): If
True, both ears move together. Disabled by default.
- min_range (float): Minimum wiggle range in
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Wiggle Ear
-
Description: Wiggle one ear.
-
Args:
- ear (Ear): The ear to move.
- min_range (float): The minimum range of the wiggle (between 0.0 and 1.0). Defaults to 0.5.
- max_range (float): The maximum range of the wiggle (between 0.0 and 1.0). Defaults to 1.0.
- rounds (int): The number of back-and-forth motions. Defaults to 3.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Hold Hand
-
Description: Play animation to hold hand with specified arm.
-
Args:
- arm (Arm): The arm to use for holding hand.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Reset Ears
-
Description: Reset ears to their nominal position.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Wind Ears
-
Description: Wind the robot's ears.
-
Args:
- frequency (float): Frequency in Hz to wind ears.
- min_range (float): Minimum range (between 0 and 1). Defaults to 0.0.
- max_range (float): Maximum range (between 0 and 1). Defaults to 1.0.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Lets Dance
-
Description: Put the robot's arms in dance position.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Sniff Around
-
Description: Make the robot sniff around.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Body Scan
-
Description: Make the robot fake a body scan.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Track Neck And Wait Infinitely
-
Description: Set the neck mode to 'track' and focus on something.
-
Args:
- focus_on (str): Focus mode (everything, handles, humans, deposit_zone, or firefly).
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Animate Neck And Wait Infinitely
-
Description: Set the neck mode to 'animate'.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Freeze Neck And Wait Infinitely
-
Description: Set the neck mode to 'freeze'.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Scan Neck And Wait Infinitely
-
Description: Set the neck mode to 'scan'.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Set Default Head Mode
-
Description: Change the default head mode.
-
Args:
- head_mode (HeadMode): Target head mode to set as default.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Set Body Posture
-
Description: Set the body posture of the robot.
-
Args:
- animation_name (PostureState): The posture to set.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Play Animation
-
Description: Play an animation with optional sound and arm movement.
-
Args:
- animation_name (Animation): The animation to play.
- intensity (float): Intensity from 0.0 (low) to 1.0 (high). Defaults to 0.85.
- play_sound (bool): Whether to play a sound linked to the animation. Defaults to True.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Set Base Emotion
-
Description: Set an base emotion.
-
Args:
- animation_name (BaseEmotion): The expressive state.
- intensity (float): Intensity from 0.0 (low) to 1.0 (high). Defaults to 1.0.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Move Ear
-
Description: Move a single ear to a specified target range.
-
Args:
- ear (Ear): The ear to move.
- target_range (float): The target position, between 0.0 (min) and 1.0 (max).
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Move Ears
-
Description: Move both ears to specified target ranges.
-
Args:
- left_target_range (float): Target position for the left ear.
- right_target_range (float): Target position for the right ear.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Change Default Base Emotion
-
Description: Change the default expressive background animation settings.
-
Args:
- animation_name (BaseEmotion | None): The new animation name, if changing.
- intensity (float | None): The new intensity, from 0.0 to 1.0, if changing.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Change Default Interactive State
-
Description: Change the default interactive state settings.
-
Args:
- animation_name (InteractiveState | None): The new animation name, if changing.
- intensity (float | None): The new intensity, from 0.0 to 1.0, if changing.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Reset Background Animations
-
Description: Reset all background animations to their standard/default state.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Set Interactive State
-
Description: Set an interactive background animation.
-
Args:
- animation_name (InteractiveState): The interactive state.
- intensity (float): Intensity from 0.0 (low) to 1.0 (high). Defaults to 1.0.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Enable Animated Arms
-
Description: Enable or Disable the following of animations (from the animations engine) on the arms.
-
Args:
- enable_arms (bool): If the arms should follows the animations.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Cancel Sound
-
Description: Cancel the currently playing sound, if any.
-
Args:
- sound_name (SoundName): The name of the sound to cancel.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Play Sound
-
Description: Play a sound by name.
-
Args:
- sound_name (SoundName): The name of the sound to play.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Change Frequency Wind Ears
-
Description: Change the frequency of the wind ears animation.
-
Args:
- frequency (float): The frequency in Hz for the wind ears motion.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Wake Up
-
Description: Wake up the robot.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Set Neck Orientation
-
Description: Set the neck orientation in radians.
-
Args:
- roll (float): The roll angle in radians.
- pitch (float): The pitch angle in radians.
- yaw (float): The yaw angle in radians.
- reset_target_after (bool): in track mode, only the roll is applyed,
- wait_infinitely (bool): True if wait infinitely, otherwise use default neck behavior
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example:
Reset Neck Orientation
-
Description: Reset target applied to the neck.
-
Endpoint:
/api/v1/dict/ -
Type of Argument:
Dict -
JSON Example: