Introduction
Teaching humanoid robots to imitate human movements typically requires expensive motion capture systems or complex human pose estimation from video. While recent text-to-motion diffusion models can generate realistic human movements from simple text prompts (e.g., "wave right hand"), directly applying these human joint angles to a robot is problematic. Humans and robots possess vastly different kinematic structures, limb lengths, and degrees of freedom (DoFs). This research addresses the challenge of accurately mapping generated human poses to a robot's specific morphology while ensuring stable physical execution without self-collisions or loss of balance.
Methodology
The proposed system utilizes a three-stage pipeline to translate natural language text into physical robot motion, bridging the gap between high-level generative models and low-level physical control.
1. Text-to-Human Motion
The process begins with a pre-trained motion diffusion model (MLCT) that generates 3D human skeletal motion sequences from text prompts. This stage leverages large-scale datasets like HumanML3D to ensure a wide variety of generated motions.
2. Normalized Pose Mapping
To bridge the human-robot structural gap, the authors introduce an Angle Signal Network. Instead of direct joint-to-joint mapping, this network utilizes a normalized description of motion focusing on the relative position and orientation of end-effectors (hands and feet).
The network is trained using a novel NPR Loss (Norm-Position and Rotation Loss), which optimizes translational accuracy—weighted by the robot's specific limb lengths—and rotational accuracy using quaternions. This approach allows the system to generalize human motion to the NAO robot's specific proportions effectively.
3. RL-Optimized Whole-Body Control
The predicted joint angles serve as reference targets for a reinforcement learning (RL) policy. Trained via Proximal Policy Optimization (PPO) in NVIDIA's IsaacSim, the RL agent learns to track these targets while maximizing stability. The reward function encourages pose matching while strictly penalizing self-inflicted damage (e.g., excessive contact forces on the torso or wrists) and jerky movements. The policy is transferred to the real world using domain randomization, varying parameters like friction and mass to ensure robustness.
Key Insights
- End-Effector Priority: Focusing on the normalized position and rotation of end-effectors rather than absolute joint angles allows for better generalization across different morphologies.
- RL as a Safety Layer: The RL policy acts as a physical "common-sense" filter. It adjusts joint positions to avoid self-collisions (a frequent issue with NAO's bulky frame) while still approximating the target pose.
- Decoupled Architecture: Separating the generative process from the control policy allows for offline generation using heavy models while maintaining high-speed local inference (approx. 1 ms) on the robot's hardware.
Results and Discussion
The pipeline was successfully deployed on a physical NAO robot using ROS2 and ONNX Runtime. The robot accurately reproduced various upper-body motions, such as waving, boxing, and playing the violin. Thanks to RL training and domain randomization, the robot demonstrated adaptive behavior, recovering balance when physically disturbed.
However, limitations remain. The current mapping network operates frame-by-frame, occasionally lacking temporal coherence. Furthermore, the system struggles with dynamic locomotion like forward walking, as it does not currently incorporate velocity information. Future work will focus on continuous motion commands to enable fully dynamic bipedal locomotion.
Summary updated