# A real-time GP based MPC for quadcopters with unknown disturbances

arXiv: https://arxiv.org/abs/2210.07836 · HTML: https://mlsanity.com/paper/2210.07836/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 14 Oct 2022.

## Built on by (most cited first, 2 of 2)

- [DroneDiffusion: Robust Quadrotor Dynamics Learning with Diffusion Models](https://mlsanity.com/paper/2409.11292/) (2024)
- [Improving Wind Resistance Performance of Cascaded PID Controlled Quadcopters using Residual Reinforcement Learning](https://mlsanity.com/paper/2308.01648/) (2023)

## Abstract (arXiv)

Gaussian Process (GP) regressions have proven to be a valuable tool to predict disturbances and model mismatches and incorporate this information into a Model Predictive Control (MPC) prediction. Unfortunately, the computational complexity of inference and learning on classical GPs scales cubically, which is intractable for real-time applications. Thus GPs are commonly trained offline, which is not suited for learning disturbances as their dynamics may vary with time. Recently, state-space formulation of GPs has been introduced, allowing inference and learning with linear computational complexity. This paper presents a framework that enables online learning of disturbance dynamics on quadcopters, which can be executed within milliseconds using a state-space formulation of GPs. The obtained disturbance predictions are combined with MPC leading to a significant performance increase in simulations with jMAVSim. The computational burden is evaluated on a Raspberry Pi 4 B to prove the real-time applicability.
