Learning to Fly in Seconds

Jonas Eschmann, Dario Albani, Giuseppe Loianno
11/22/2023
cs.ROcs.AIcs.LG

No official code found. Best implementation: arplaboratory/learning-to-fly (591 stars, MIT, last commit 2025-05-22).

Abstract

Learning-based methods, particularly Reinforcement Learning (RL), hold great promise for streamlining deployment, enhancing performance, and achieving generalization in the control of autonomous multirotor aerial vehicles. Deep RL has been able to control complex systems with impressive fidelity and agility in simulation but the simulation-to-reality transfer often brings a hard-to-bridge reality gap. Moreover, RL is commonly plagued by prohibitively long training times. In this work, we propose a novel asymmetric actor-critic-based architecture coupled with a highly reliable RL-based training paradigm for end-to-end quadrotor control. We show how curriculum learning and a highly optimized simulator enhance sample complexity and lead to fast training times. To precisely discuss the challenges related to low-level/end-to-end multirotor control, we also introduce a taxonomy that classifies the existing levels of control abstractions as well as non-linearities and domain parameters. Our framework enables Simulation-to-Reality (Sim2Real) transfer for direct RPM control after only 18 seconds of training on a consumer-grade laptop as well as its deployment on microcontrollers to control a multirotor under real-time guarantees. Finally, our solution exhibits competitive performance in trajectory tracking, as demonstrated through various experimental comparisons with existing state-of-the-art control solutions using a real Crazyflie nano quadrotor. We open source the code including a very fast multirotor dynamics simulator that can simulate about 5 months of flight per second on a laptop GPU. The fast training times and deployment to a cheap, off-the-shelf quadrotor lower the barriers to entry and help democratize the research and development of these systems.

View on arXivView PDF

Code Implementations(1)

MIT

Training transferable end-to-end quadrotor control policies on a laptop in 18 seconds.

59163C, C++Nov 8, 20231 years agoMIT

Similar Papers

Cite this paper

@article{eschmann2023learning,
  title  = {Learning to Fly in Seconds},
  author = {Jonas Eschmann and Dario Albani and Giuseppe Loianno},
  year   = {2023},
  eprint = {2311.13081},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.13081v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.13081.svg)](https://codeofpaper.com/paper/2311.13081)

Discussion