Skip to content

7.3 Expression Playback Section

The display of the Agibot Ultra model is connected to the X86 industrial PC and controlled through the AimMaster Face module. The rc module encapsulates the interface calls of AimMaster Face for secondary development.

The default list of expressions on the machine (the corresponding resource files are located in the /agibot/data/resources/default/emoticon folder on the x86) is as follows:

idDescriptionCover Image
1Typically used in specific explanation scenarios, telling the user what the current robot’s wake-up word is
2Typically used in greeting scenarios
3Typically used in dancing scenarios
4Typically used in expressing gratitude by giving a heart to the user
5Typically used in saying goodbye to the user
6Typically used in expressing care and delivering love to the user
7Typically used in happy and joyful scenes, smiling with squinted eyes
8Typically used in boldly expressing love
9Typically used in wishing good luck and conveying positive energy
10Typically used in indicating “no problem” or “completed”
11A general expression, indicating that the robot is in normal working condition
12Typically used in scenarios where the mood is not good, or pretending to be in a bad mood
13Typically used in warmly welcoming scenarios
14Typically used in expressing likes and agreeing with the other party
15Typically used in specific explanation scenarios, telling the user that the current robot cannot perform voice interaction
16Expression used when switching between Chinese and English
17Expression used in homework mode
18The first expression in a three-shot sequence
19The second expression in a three-shot sequence
20The third expression in a three-shot sequence
21In multimodal interaction, enabling the query function
22The user’s input is unrecognized, exclusive to voice use
23Listening to what the user is saying, exclusive to voice use
24An expression in the Tic-Tac-Toe game, indicating the countdown state
25An expression in the Tic-Tac-Toe game, indicating a draw
26An expression in the Tic-Tac-Toe game, indicating that the game is in progress
27An expression in the Tic-Tac-Toe game, indicating that A2 lost
28An expression in the Tic-Tac-Toe game, indicating that A2 won
29An expression in the Tic-Tac-Toe game, indicating an abnormal recognition of the current game state
30The user has initiated the leading process
31Typically used in specific explanation scenarios, telling the user what the current robot’s wake-up word is (in English)
Interface Name pb:/aimdk.protocol.ResourceService/GetEmoticon
Function Summary Get the list of expressions
Interface Type HTTP JSON RPC
URL http://192.168.100.110:51049/rpc/aimdk.protocol.ResourceService/GetEmoticon
Input Parameters
{}
Output Parameters
{
  "emoticons": [
    {
      "emoticon_id": 10001,
      "emoticon_name": "蓝改",
      "emoticon_path": "/agibot/data/resources/custom/emoticon/蓝改/emoticon.mp4",
      "cover_expand_name": "",
      "emoticon_url": "/agibot/data/resources/custom/emoticon/蓝改/emoticon.mp4",
      "thumbnail_url": "/agibot/data/resources/custom/emoticon/蓝改/thumbnail.mp4",
      "cover_url": "/agibot/data/resources/custom/emoticon/蓝改/cover.png",
      "duration": 136,
      "is_change": true,
      "display_name_zh": "",
      "display_name_en": "",
      "description": "",
      "create_time_stamp": "0",
      "update_time_stamp": "0"
    },
    {
      "emoticon_id": 23,
      "emoticon_name": "emoticon_human_voice_input",
      "emoticon_path": "/agibot/data/resources/default/emoticon/emoticon_human_voice_input/emoticon.mp4",
      "cover_expand_name": "",
      "emoticon_url": "default/emoticon/emoticon_human_voice_input/emoticon.mp4",
      "thumbnail_url": "default/emoticon/emoticon_human_voice_input/thumbnail.mp4",
      "cover_url": "default/emoticon/emoticon_human_voice_input/cover.png",
      "duration": 2,
      "is_change": false,
      "display_name_zh": "有人声输入",
      "display_name_en": "Human voice input",
      "description": "正在倾听用户说的话,语音专属使用",
      "create_time_stamp": "1765185451",
      "update_time_stamp": "1765185451"
    },
    ...
  ]
}
  • emoticon_id: ID used for the expression playback interface
The rest of the fields can be ignored; the paths can be found on the x86 for the corresponding files.
Example Script examples/rc/a2_GetEmoticonList.sh
Notes
Interface Name pb:/aimdk.protocol.RcEmoticonPlayerService/PlayerEmoticon
Function Summary Play the specified expression ID
Interface Type HTTP JSON RPC
URL http://192.168.100.100:59001/rpc/aimdk.protocol.RcEmoticonPlayerService/PlayerEmoticon
Input Parameters
{
  "emoticon_id": "1"
}
  • emoticon_id: Expression ID. Retrieve available IDs first through the GetEmoticon interface.
Output Parameters
{
  "state": "CommonState_UNKNOWN"
}
  • state: Request call status
Example Script examples/rc/a2_PlayerEmoticon.sh
Notes