Abstract
Designing agile locomotion for quadruped robots often requires extensive expertise and tedious manual tuning. In this paper, we present a system to automate this process by leveraging deep reinforcement learning techniques. Our system can learn quadruped locomotion from scratch using simple reward signals. In addition, users can provide an open loop reference to guide the learning process when more control over the learned gait is needed. The control policies are learned in a physics simulator and then deployed on real robots. In robotics, policies trained in simulation often do not transfer to the real world. We narrow this reality gap by improving the physics simulator and learning robust policies. We improve the simulation using system identification, developing an accurate actuator model and simulating latency. We learn robust controllers by randomizing the physical environments, adding perturbations and designing a compact observation space. We evaluate our system on two agile locomotion gaits: trotting and galloping. After learning in simulation, a quadruped robot can successfully perform both gaits in the real world.
Introduction
In the field of robotics, the "Reality Gap" remains a significant obstacle. While Deep Reinforcement Learning (RL) has demonstrated remarkable success in teaching simulated agents complex maneuvers, these policies frequently fail when deployed on physical hardware. Simulators often lack the nuance to account for unmodeled dynamics, sensor noise, communication latency, and non-linear actuator behavior. For agile locomotion, where stability depends on rapid, precise ground contacts, even minor discrepancies can lead to failure. Traditionally, this gap was bridged through manual tuning. This work presents an automated system to learn and transfer robust locomotion policies from simulation to reality.
Methods
The system utilizes Proximal Policy Optimization (PPO) to train control policies within the PyBullet physics engine. The core innovation lies in narrowing the reality gap through high-fidelity simulation and robust policy design.
High-Fidelity Simulation
Rather than relying on idealized models, the authors performed extensive system identification on the Ghost Robotics Minitaur. This included measuring the mass and inertia of individual links and developing a custom actuator model. This model accounts for DC motor physics, such as back-EMF and voltage limits, moving beyond simple PD control.
Furthermore, the authors explicitly modeled communication latency. By measuring the 15-19ms delay between the Nvidia Jetson TX2 controller and the motors, they were able to inject history-based delays into the training environment, significantly improving transferability.
Policy Structure and Robustness
A hybrid policy representation was employed, decoupling the control into an open-loop reference gait and a learned feedback component. This allows the RL agent to focus on stability and efficiency. To ensure robustness, the training environment utilized dynamics randomization—varying parameters like friction and mass—and applied random perturbation forces to teach the robot to recover from stumbles.
Results
The system was evaluated on two primary gaits: trotting and galloping. The results demonstrate that high-fidelity simulation is more critical than extensive randomization; without accurate actuator and latency modeling, policies failed to transfer regardless of robustness training.
The robot achieved a galloping speed of 1.18 m/s (2.18 body lengths per second) and a stable trot at 0.60 m/s. Notably, the learned policies were more energy-efficient than handcrafted controllers, consuming 35% less power for galloping and 23% less for trotting. The use of a compact observation space (primarily IMU data) helped prevent overfitting to simulation-specific artifacts.
Conclusion
This work demonstrates that automated learning of agile locomotion is feasible and efficient. By prioritizing simulation fidelity and employing targeted robustness techniques, the reality gap can be effectively bridged. Future work will focus on navigating complex, non-flat terrain and integrating visual perception for proactive obstacle avoidance.
Summary updated