5.2 Interaction Module
Note
X2 EDU does not support the features in this section. This section applies only to X2 Ultra and X2 Ultra(new version).
AgiBot X2 AimDK Interaction Module – providing extensive human–robot interaction interfaces
Core Features
Voice Interaction: speech recognition, text-to-speech, and voice command handling
Expression Control: a wide range of facial expressions and emotional displays
Multimedia Playback: video, audio, and image playback
Haptic Feedback: tactile sensors and feedback control
Interface Specifications
Service Interfaces: use the
/aimdk_5Fmsgs/srv/prefixMessage Types: defined in the
aimdk_msgspackageLanguage Support: C++ and Python
Message Format: standard ROS 2 message formats
Safety Notes
Warning
Important Safety Reminders
The TTS service is priority-based; avoid playing multiple voices at the same time.
Expression playback consumes display resources; manage system resources carefully.
For multimedia playback, ensure file paths are correct and accessible.
Caution
As standard ROS DO NOT handle cross-host service (request-response) well, please refer to SDK examples to use open interfaces in a robust way (with protection mechanisms e.g. exception safety and retransmission)
While the robot is in Stable Standing Mode or Locomotion Mode, DO NOT launch ROS nodes in rapid bulk (no more than 2 nodes per second is recommended), as a large number of nodes joining DDS discovery within a short period causes communication congestion and degrades motion control real-time performance, which may cause the robot to lose balance and fall
Feature Modules