Research
TransNav: Transformer-Based End-to-End Navigation Method for Static and Dynamic Quadrotor Obstacle Avoidance
Most autonomous-drone obstacle-avoidance methods are built for either cluttered static rooms or moving obstacles, and they break down when both appear at once: static-scene methods react too slowly…

- arXiv
- 2610.23635
- Published
- 2026-10-16
- Authors
- Jianghan Zhu, Zhuo Li, Yanjun Zhang, Jian Sun
In plain words
Most autonomous-drone obstacle-avoidance methods are built for either cluttered static rooms or moving obstacles, and they break down when both appear at once: static-scene methods react too slowly to fast objects, while dynamic-scene methods overfit to motion cues and lose accuracy in dense clutter.
AI summary
TransNav: Transformer-Based End-to-End Navigation for Static and Dynamic Quadrotor Obstacle AvoidanceOverview
- Research area: Robotics — learning-based aerial navigation, perception-and-control for autonomous quadrotors (IEEE RA-L paper, arXiv:2610.23635v1 [cs.RO]).
- Technical level: Advanced. It assumes familiarity with transformer encoders, point-cloud representations, receding-horizon control, and differentiable trajectory-cost optimization.
- Scope: A single transformer-based end-to-end policy that maps LiDAR distance-map patches plus reference-trajectory states to a finite-horizon acceleration sequence, trained without expert demonstrations and validated in simulation and on a 755 g quadrotor.
What This Paper Is About
Most autonomous-drone obstacle-avoidance methods are built for either cluttered static rooms or moving obstacles, and they break down when both appear at once: static-scene methods react too slowly to fast objects, while dynamic-scene methods overfit to motion cues and lose accuracy in dense clutter. The authors propose TransNav, which compresses raw LiDAR into small image-like patches, feeds them to a transformer together with sampled reference-trajectory states, and predicts a short future sequence of accelerations — executing only the first — so the drone reacts quickly without ever being trained on moving obstacles. The policy is trained by directly minimizing trajectory-level costs through a lightweight point-mass dynamics model, with no expert demonstrations or critic network.
Key Contributions
- Unified perception-and-navigation architecture: A transformer-based end-to-end network that fuses patch-based LiDAR distance-map representations with sampled reference-trajectory states to predict a finite-horizon action sequence in one forward pass.
- Lightweight high-frequency pipeline: The distance map (30 × 80, split into M = 100 patches of 3 × 8) plus a two-layer CNN, a two-layer transformer encoder with two attention heads and feed-forward dimension 512, and a two-layer MLP decoder yield a 0.6M-parameter policy that predicts sequences for receding-horizon execution.
- Unsupervised training strategy: A point-mass dynamics surrogate lets gradients of trajectory-level costs propagate through the whole predicted action sequence, avoiding expert action labels and critic networks; an exponential temporal decay (α = 0.9) suppresses gradient accumulation.
- Cross-regime evaluation: Simulation comparisons against EGO-Planner, FAPP, NavRL, and P2M across six scenarios plus real-world flights including vertical avoidance, a 1 m circular gate, and thrown/moving obstacles.
Main Findings
- Best success in dense static clutter: TransNav reaches 100% success (η) in both the "60 static" and "105 static" scenarios, versus 85% and 80% for EGO-Planner [12], 80% and 40% for FAPP [16], 100% and 80% for NavRL [18], and 60% and 10% for P2M [10].
- Lowest reported latency: Perception-to-action latency is 6.13–7.06 ms across all scenarios for TransNav, compared with 8.43–37.04 ms for the baselines — attributed to the lightweight network.
- Speed adapts to difficulty: Average flight speed is 2.71 m/s in "60 static" (EGO-Planner: 3.12 m/s) and 2.71 → 1.97 m/s when static obstacle count rises to 105, i.e., the policy slows down to keep 100% success.
- Competitive but not dominant in dynamics: In "10 dynamic and 10 static" it reaches 80% (tied with P2M at 80%, FAPP 70%, NavRL 40%, EGO-Planner 5%); in "25 dynamic" it reaches 35% versus 40% for P2M, which the authors attribute to TransNav's lack of explicit dynamic-obstacle prediction.
- Robustness degrades with dynamic density: Success falls from 80% (10 dynamic + 10 static) to 60%, 40%, and 35% as dynamic/static counts rise to 15, 20, and 25 dynamic obstacles; failures are attributed to fast-approaching obstacles leaving insufficient time to change velocity.
- Path efficiency comparable: R_l stays between 1.05 and 1.19 for TransNav across scenarios, versus 2.07 and 2.33 for P2M in the two static scenarios.
- Every component matters (ablation): Removing temporal gradient decay drops mixed-scene success from 80% to 40% and "60 static" average speed from 2.71 to 1.07 m/s; removing patches drops success to 50% (static) and 45% (mixed) while growing parameters to 1.7M; single-step prediction gives 20% success in the mixed scene at 6.51 m/s; ResNet-18, PointNet-style, and UNet encoder replacements (≥3.7M parameters) and PPO training all failed to navigate.
- Real-world flights: 10/10 successes in the denser static scene, 9/10 in the two-dynamic-obstacle scene; speeds up to 6.05 m/s (average 4.30 m/s) in sparse obstacles and a maximum of 4.45 m/s in denser ones; the policy also handled a low wall, a door frame, and a 1 m diameter gate that were absent from the training data.
- Onboard deployment works: With RKNN deployment on an Orange Pi 5 Pro (Rockchip RK3588S), inference is about 5 ms, enabling 100 Hz command generation while the Livox Mid-360 (10 Hz intrinsic scan) is incrementally updated to a 100 Hz representation.
Methodology in Plain English
- Turning LiDAR into an image: The 360° × 59° field of view of a Livox Mid-360 is diced at 4.5° horizontal and 2° vertical resolution into 2400 cells, each keeping only the distance to its nearest point — a 30 × 80 "distance map" like a depth image. It is then cut into 100 small 3 × 8 patches so the transformer can work on compact, local chunks while still reasoning about the whole scene.
- Adding a rough plan as input: A smooth reference path (a quintic polynomial from the current state to the goal) is sampled every 0.05 s into 30 states, each with position and velocity, and fed in alongside the patches.
- One network, one shot: Patches go through a small two-layer CNN into 128-dimensional tokens; each reference state is linearly projected to the same 128 dimensions; the combined token sequence goes through a two-layer transformer encoder, and an MLP decodes 30 desired accelerations. Only the first is sent to the flight controller each step, and the rest are recomputed next step.
- Learning without a teacher: Because the network predicts a whole sequence, the authors simulate the next 30 steps with a simple point-mass model (position and velocity updated by the predicted accelerations over dt). Three costs are applied to that imagined trajectory — deviation from the desired velocity (7 m/s toward the goal) plus a terminal goal term, a safety cost using distance to the nearest obstacle from an ESDF map plus a velocity-toward-obstacle term, and smoothness penalties on acceleration and jerk (weights 1.0, 1.5, 0.005, 0.0005) — and gradients flow straight back into the network. The ESDF is privileged training-only information; no expert actions are needed.
- Training data: Ten randomly generated static environments of 60 m × 60 m × 15 m (sampling space 40 m × 40 m × 4.5 m), each with 100 obstacles of each of four types (cylinders, cubes, spheres, thin horizontal cylinders). Goals are 1–10 m away with goal velocity 0–7 m/s. 10,000 samples are collected per environment; training runs 50 epochs with batch size 16, learning rate 1 × 10⁻⁴ and cosine annealing, converging within two hours. No moving obstacles appear in training at all.
- Hardware: Training and simulation on an Intel i9-12900K CPU with an NVIDIA GeForce RTX4060 GPU; the flight platform is a 200 mm wheelbase, 755 g quadrotor with an Orange Pi 5 Pro, Livox Mid-360 LiDAR, and Fast-LIO2/Point-LIO style state estimation.
Why This Matters
- Research impact: It shows that a policy trained only in static clutter can handle moving obstacles simply through high-frequency replanning and short-horizon sequence prediction, sidestepping the cost and generalization problems of dynamic-obstacle training data. It also demonstrates unsupervised, trajectory-level training of a sequence-output policy where critic-based RL (PPO failed here) and imitation learning are impractical.
- Real-world applications:
- Exploration and inspection of cluttered indoor or industrial spaces with dense small obstacles.
- Search and rescue in environments with both rubble and moving people or objects.
- Flight through narrow passages such as 1 m gates in unknown layouts, including obstacles never seen in training (low walls, door frames).
- Operations alongside moving agents where dodge-and-go reaction matters more than global optimality.
- Industry relevance: Sub-0.6M-parameter models running at ~5 ms and 100 Hz on a Rockchip RK3588S-class onboard computer make this class of policy plausible on low-cost, low-power airframes rather than GPU-equipped platforms, and the use of desired acceleration as the action interface improves sim-to-real transferability compared with predicting thrust and body rates.
Future Directions
- Adding explicit dynamic-obstacle prediction: The authors note performance in the purely dynamic scenario (35% at 25 dynamic obstacles) is slightly below P2M [10] because TransNav lacks dynamic-obstacle prediction — a natural next addition.
- Multi-agent and extreme-speed scenarios: Explicitly named as future work in the conclusion.
- Closing the sensing bottleneck: The paper observes that LiDAR's low update frequency and redundant data limit achievable flight speed relative to the wide field of view it provides, raising the question of faster or fused sensing.
- Scaling to denser dynamic fields: Success declines monotonically as dynamic obstacles increase (80% → 60% → 40% → 35%), so better handling of fast-approaching objects that arrive within the vehicle's dynamic limits remains open.
Target Audience
Robotics graduate students and researchers working on learning-based aerial navigation, integrated perception-planning-control, or transformer architectures for robot policies; drone autonomy engineers interested in onboard deployment on embedded hardware; and practitioners of differentiable/unsupervised trajectory optimization who want a worked example of training a sequence-output policy without expert demonstrations or a critic. Readers need background in point-cloud representations, attention models, and optimal-control-style cost design to follow the method fully.
Authors’ abstract
Obstacle avoidance for autonomous quadrotors in cluttered environments remains challenging, especially when both dense static obstacles and moving obstacles are present. Existing methods are often tailored to either static or dynamic settings, which always limit their adaptability across diverse environments. This paper presents TransNav, a transformer-based end-to-end navigation method for quadrotor obstacle avoidance in both static and dynamic environments. TransNav…
The full abstract on arXivRelated papers
- A Survey on End-to-End Autonomous Driving Training from the Perspectives of Data, Strategy, and Platform 2026-10-01 · cs.RO · Also by Jian Sun
- E2DRL: End-to-End Differentiable Reinforcement Learning for 3D Obstacle Avoidance in Quadruped Robots 2026-10-14 · cs.RO · Key terms of the title in common
- SafeDriveVLA: Navigation-Conditioned World Model Dreaming for Conflict-Aware End-to-End Autonomous Driving 2026-10-14 · cs.RO · Key terms of the title in common
- State-Dependent Objective Coordination for End-to-End Balance and Navigation 2026-10-21 · cs.RO · Key terms of the title in common
- ReAT: Residual Action Tokenization for Autoregressive Robot Policies 2026-10-09 · cs.RO · Also by Zhuo Li