Abstract
We present CAJun, a novel hierarchical learning and control framework that enables legged robots to jump continuously with adaptive jumping distances. CAJun consists of a high-level centroidal policy and a low-level leg controller. In particular, we use reinforcement learning (RL) to train the centroidal policy, which specifies the gait timing, base velocity, and swing foot position for the leg controller. The leg controller optimizes motor commands for the swing and stance legs according to the gait timing to track the swing foot target and base velocity commands. Additionally, we reformulate the stance leg optimizer in the leg controller to speed up policy training by an order of magnitude. Our system combines the versatility of learning with the robustness of optimal control. We show that after 20 minutes of training on a single GPU, CAJun can achieve continuous, long jumps with adaptive distances on a Go1 robot with small sim-to-real gaps. Moreover, the robot can jump across gaps with a maximum width of 70cm, which is over 40% wider than existing methods.
Introduction
While legged robots excel at navigating uneven terrain, most current systems rely on walking gaits that require continuous foot contact. This constraint limits their operational reach to roughly one body length, making gaps, ditches, or stepping stones significant obstacles. Jumping offers a solution but presents a "Goldilocks" problem for controllers: optimization-based methods are robust but computationally heavy and often lack real-time adaptability, while end-to-end Reinforcement Learning (RL) is versatile but suffers from a significant sim-to-real gap in dynamic, underactuated tasks.
CAJun (Continuous Adaptive Jumping) bridges this gap by creating a hierarchical system that is both adaptive via RL and robust via optimal control, optimized for rapid training and hardware deployment.
System Architecture
The CAJun framework utilizes a hierarchical approach to decouple high-level decision-making from low-level motor control. This separation allows the system to leverage the strengths of both learning and classical control.
High-Level Centroidal Policy
Operating at 100Hz, the centroidal policy is trained using RL in the IsaacGym simulator. It observes the robot's state and outputs three key parameters: stepping frequency (gait timing), desired base velocity, and swing foot residuals. By focusing on these high-level "centroidal" decisions, the policy manages the intelligence of the jump without needing to model high-frequency torque physics directly.
Low-Level Leg Controller
Running at 500Hz, this module converts the policy's high-level commands into motor torques. It uses a Phase-based Gait Generator to track contact sequences and employs separate strategies for swing and stance legs. The low-level controller acts as a "buffer," handling the messy realities of hardware and significantly reducing the sim-to-real gap.
Optimization and Training
A key technical innovation in CAJun is the reformulation of the stance leg optimizer. Standard hierarchical controllers often utilize Quadratic Programming (QP) to solve for Ground Reaction Forces (GRFs). However, QP solvers are computationally expensive and difficult to parallelize.
The authors reformulated this into an unconstrained least-squares problem with clipping. This shift from "perfect optimization" to "fast approximation" allows the entire control stack to run in massive parallel on the GPU during training. This results in a 10x speedup, enabling the system to reach peak performance in less than 20 minutes on a single desktop GPU.
Experimental Results
CAJun was evaluated on a Unitree Go1 quadruped robot and compared against an end-to-end (E2E) RL baseline and existing methods like Walk-These-Ways.
- Gap Crossing: CAJun achieved a maximum gap-crossing width of 70cm (approximately 1.4x the robot's body length), representing a 40% improvement over previous state-of-the-art methods.
- Sim-to-Real Performance: In real-world hardware tests, CAJun successfully covered a total distance of 4.76m over six continuous jumps. In contrast, the E2E RL baseline struggled with the hardware transition, covering only 1.67m.
- Robustness and Adaptability: The controller demonstrated significant resilience, recovering from external perturbations (such as being pulled mid-jump) and successfully transitioning between varying surfaces like smooth asphalt and uneven grass.
- Gait Modulation: The RL policy naturally learned to adjust gait timing, reducing air time by approximately 20% when switching from long to short jumps to improve efficiency.
Discussion and Future Work
While CAJun demonstrates remarkable agility and training efficiency, it currently lacks pinpoint landing accuracy due to unmodeled dynamics and state estimation drift. Furthermore, the system relies on user-provided jump distances rather than onboard perception. Future work will focus on integrating computer vision (e.g., depth cameras or LiDAR) for autonomous gap detection and exploring jumping maneuvers in more complex 3D environments, such as onto elevated platforms.
Summary updated