Robot side (interaction-robot)
The robot side runs on the X2 dev compute unit. It handles the microphone pipeline, interaction orchestration, and audio playback, and calls the PC-side services over HTTP. Deploying the full voice interaction requires both the robot side and the PC side to be ready.
Responsibilities and composition
Component |
Path |
Description |
|---|---|---|
Main interaction flow |
|
Audio processing orchestration, wake word and speaker gating |
Service and network configuration |
|
PC service URL derivation ( |
Conversation capabilities |
|
Conversation memory, VAD, voiceprint, motion interface |
Wake word detection |
|
Wake word detection and keyword list (default: “Lingxi Lingxi”) |
Camera bridging |
|
HTTP bridging of camera frames |
Launch entry |
|
Launch script shared by terminal and web page |
Deployment and tools |
|
One-shot deployment, config initialization, environment checks |
The default audio pipeline is raw_lvqe: direct capture from /aima/hal/audio/capture → LocalVQE echo cancellation → DFSMN denoising → wake word and voice gating → PC-side separation / voiceprint / ASR.
Quick start
Note
For complete deployment steps (model downloads, dependency installation, configuration, startup), refer to the in-repo documentation; this page does not duplicate them:
User guide: deployment, start/stop, debugging, data persistence
Minimal flow (excerpted from the in-repo user guide; see the docs above for full steps):
Deploy the PC-side services (see the PC side) and note the PC’s LAN IP
One-shot robot-side deployment:
bash scripts/deploy_robot.sh(prepares Python dependencies and models automatically)Set
INTERACTION_PC_HOSTto the PC’s IP inconfig/runtime.envStart:
bash robot/launch/run.shSay “Lingxi Lingxi” to the robot to start interacting
Warning
Stop the firmware voice interaction system before starting — this reference implementation and the firmware voice interaction system use the same pair of audio topics (/aima/hal/audio/capture / /aima/hal/audio/playback), and running both at once causes mutual interference.