Autonomous drone racing requires the tight coupling of perception, planning, and control under extreme agility. However, recent approaches typically rely on precomputed spatial reference trajectories or explicit 6-DoF gate pose estimation, rendering them brittle to spatial perturbations, unmodeled track changes, and sensor noise. Conversely, end-to-end learning policies frequently overfit to specific track layouts and struggle with zero-shot generalization. To address these fundamental limitations, we propose a fully onboard, vision guided optimal control framework that enables reference-free agile flight through arbitrarily placed and oriented gates. Central to our approach is Gate-SDF, a novel, implicitly learned neural signed distance field. Gate-SDF directly processes raw, noisy depth images to predict a continuous spatial field that provides both collision repulsion and active geometric guidance toward the valid traversal area. We seamlessly integrate this representation into a sampling-based Model Predictive Path Integral (MPPI) controller. By fully exploiting GPU parallelism, the framework evaluates these continuous spatial constraints across thousands of simulated trajectory rollouts simultaneously in real time. Furthermore, our formulation inherently maintains spatial consistency, ensuring robust navigation even under severe visual occlusion during aggressive maneuvers. Extensive simulations and real-world experiments demonstrate that the proposed system achieves high-speed agile flight and successfully navigates unseen tracks subject to severe unmodeled gate displacements and orientation perturbations. Videos are available at https://zhaofangguo.github.io/vision_guided_mppi/
Figures & tables
Fig. 1 : Real-world experiments with gates arranged at varying positions and orientations. All computations are performed online by the onboard computer using depth images.
Fig. 2 : Overview of the proposed framework. At each control step, a depth encoder extracts a latent vector z , which is duplicated M×K times ( M rollouts, K horizon) and concatenated with each MPPI-sampled state p . The SDF decoder evaluates these points to formulate vision guided safety constraints. Combined with a gate progress objective, the optimal control sequence is derived via cost-weighted averaging.
Fig. 3 : Dataset Generation Pipeline.
Fig. 4 : Overview of the two-stage training pipeline. In simulation, a denoising autoencoder is trained to robustly extract gate features from noisy images, alongside a SDF decoder. In the real-world domain, the image encoder is fine-tuned to adapt to specific sensor characteristics.
Parameters
Value/Range
Parameters
Value/Range
M
8192
λ
[0.01,0.1]
K
20
Δt
0.03
Ts˙
[−10,10]
dsafe
1.0
ω[rad/s]
[−10,10]
Ts[N]
[0,10]
TABLE I : The parameters used in simulation
Fig. 5 : Predicted Gate-SDF visualization. The leftmost panel is the onboard depth image. Four horizontal slices (colored lines) are sampled, and their top-down SDF maps show that the model correctly captures the gate’s traversable region.
Fig. 6 : Visualization of the aggregated MPPI sampled trajectories over a complete flight lap.
Fig. 7 : Visualization of continuous flight trajectories over three consecutive laps. Waypoints and gates are denoted by blue dots and solid lines, respectively. Subfigures (c-1) to (c-4) provide a detailed progression of the MPPI optimization process for the trajectory segment highlighted in red in (c).
Fig. 8 : Success rates across different track configurations.
Perturbation
[ 26 ] (Best Env.)
Ours
SR
Max Vel
SR
Max Vel
No Noise
100%
5.3
100%
10.0
Pos. Noise ( ∼0.3 m)
100%
5.1
100%
7.0 ∗
Pos. Noise ( ∼0.5 – 0.6 m)
100%
4.6
100%
7.0 †
Yaw Noise ( 30∘ )
-
-
100%
10.0
Yaw Noise ( 60∘ )
-
-
100%
6.0
TABLE II : Performance Comparison with Baseline under Spatial Perturbations
Fig. 9 : Trajectories from real-world experiments. The racing gates in each track configuration are subjected to position and orientation perturbations. Green denotes the gate traversable region, and red denotes collision regions.
Fig. 10 : Flight trajectories of the point-to-point flight task.
Autonomous drone racing in complex environments requires agile, high-speed flight while maintaining reliable obstacle avoidance. Differentiable-physics-based policy learning has recently demonstrated high sample efficiency and remarkable performance across various tasks, including agile drone flight and quadruped locomotion. However, applying such methods to drone racing remains difficult, as key objective like gate traversal are inherently hard to express as smooth, differentiable losses. To address these challenges, we propose DiffRacing, a novel vector field-augmented differentiable policy learning framework. DiffRacing integrates differentiable losses and vector fields into the training process to provide continuous and stable gradient signals, balancing obstacle avoidance and high-speed gate traversal. In addition, a differentiable Delta Action Model compensates for dynamics mismatch, enabling efficient sim-to-real transfer without explicit system identification. Extensive simulation and real-world experiments demonstrate that DiffRacing achieves superior sample efficiency, faster convergence, and robust flight performance, thereby demonstrating that vector fields can augment traditional gradient-based policy learning with a task-specific geometric prior.
Yang Su, Feng Yu, Yu Hu +4
The authors are with the Shanghai Jiao Tong University, Shanghai 200240, China
Precise aggressive maneuvers with lightweight onboard sensors remains a key bottleneck in fully exploiting the maneuverability of drones. Such maneuvers are critical for expanding the systems' accessible area by navigating through narrow openings in the environment. Among the most relevant problems, a representative one is aggressive traversal through narrow gaps with quadrotors under SE(3) constraints, which require the quadrotors to leverage a momentary tilted attitude and the asymmetry of the airframe to navigate through gaps. In this paper, we achieve such maneuvers by developing sensorimotor policies directly mapping onboard vision and proprioception into low-level control commands. The policies are trained using reinforcement learning (RL) with end-to-end policy distillation in simulation. We mitigate the fundamental hardness of model-free RL's exploration on the restricted solution space with an initialization strategy leveraging trajectories generated by a model-based planner. Careful sim-to-real design allows the policy to control a quadrotor through narrow gaps with low clearances and high repeatability. For instance, the proposed method enables a quadrotor to navigate a rectangular gap at a 5 cm clearance, tilted at up to 90-degree orientation, without knowledge of the gap's position or orientation. Without training on dynamic gaps, the policy can reactively servo the quadrotor to traverse through a moving gap. The proposed method is also validated by training and deploying policies on challenging tracks of narrow gaps placed closely. The flexibility of the policy learning method is demonstrated by developing policies for geometrically diverse gaps, without relying on manually defined traversal poses and visual features.
Tianyue Wu, Guangtong Xu, Zihan Wang +6
Institute of Cyber-Systems and Control, College of Control Science and Engineering, Zhejiang University, Hangzhou, China. · Huzhou Institute of Zhejiang University, Huzhou, China. · Differential Robotics Technology Co., Ltd., Hangzhou, China.
-Navigation through narrow and irregular gaps is an essential skill in autonomous drones for applications such as inspection, search-and-rescue, and disaster response. However, traditional planning and control methods rely on explicit gap extraction and measurement, while recent end-to-end approaches often assume regularly shaped gaps, leading to poor generalization and limited practicality. In this work, we present a fully vision-based, end-to-end framework that maps depth images directly to control commands, enabling drones to traverse complex gaps within unseen environments. Operating in the Special Euclidean group SE(3), where position and orientation are tightly coupled, the framework leverages differentiable simulation, a Stop-Gradient operator, and a Bimodal Initialization Distribution to achieve stable traversal through consecutive gaps. Two auxiliary prediction modules-a gap-crossing success classifier and a traversability predictor-further enhance continuous navigation and safety. Extensive simulation and real-world experiments demonstrate the approach's effectiveness, generalization capability, and practical robustness.
Linzuo Zhang, Yu Hu, Feng Yu +3
The authors are with the Shanghai Jiao Tong University, Shanghai 200240, China.