# DQ-MPCC: Dual-Quaternion MPCC for Quadrotor Racing

Robotics.world

> Quadrotor racing controllers must fly aggressively through a sequence of gates, and existing MPCC formulations describe the vehicle's position error in inertial coordinates while describing its…

**arXiv**: 2609.36482 · Preprint · not peer-reviewed

**Published**: 2026-09-29

**Authors**: Bryan S. Guevara, Luis F. Recalde, Guanrui Li, Tiago Nascimento

## In plain words

Quadrotor racing controllers must fly aggressively through a sequence of gates, and existing MPCC formulations describe the vehicle's position error in inertial coordinates while describing its attitude error separately in the body frame.

## Key results

- **Sim-to-real degradation.** The baseline's median worst-gate offset grew by 71.5% from simulation to the real world, whereas DQ-MPCC's decreased by 10.1%.
- **Real-world outcome.** Minimum lap time was reduced by 10.5% relative to the baseline.
- **Runtime.** The controller runs onboard at 100 Hz with an external state estimate and is compatible with standard flight controllers.

## AI summary

## Overview

**Research area:** Aerial robotics — aggressive quadrotor flight, model predictive contouring control (MPCC), and geometric mechanics on the rigid-body pose group.

**Technical level:** Advanced. The paper assumes familiarity with nonlinear MPC, Lie-group representations of rigid-body motion (quaternions, dual quaternions, 𝔰𝔢(3)), differential flatness, and real-time optimal control solvers.

**Scope (one sentence):** The paper reformulates minimum-time quadrotor racing MPC entirely in unit dual-quaternion coordinates in the body frame, and compares it against a conventional inertial-position/attitude-error MPCC under one matched tuning and deployment protocol in both simulation and real-world flight.

## What This Paper Is About

Quadrotor racing controllers must fly aggressively through a sequence of gates, and existing MPCC formulations describe the vehicle's position error in inertial coordinates while describing its attitude error separately in the body frame. The authors argue that these two coordinate choices, though they describe the same physical system, shape the optimization problem differently, and they propose stating both in one unified object: a unit dual quaternion that encodes position and orientation together. The goal is to test whether posing the contouring problem on the dual-quaternion manifold — with errors projected into the tangent space and expressed in the desired body frame — produces better gate-crossing accuracy and faster laps than the conventional formulation, especially when a controller tuned in simulation is transferred to real hardware without retuning.

## Key Contributions

1. **DQ-MPCC controller.** A racing controller formulated directly on the unit dual-quaternion manifold, whose prediction model is the dual-quaternion rigid-body dynamics in the body frame (unified pose-twist coordinates). The decomposition into lag (along-path) and contouring (across-path) errors is defined in the tangent space of the pose error, expressed in the desired body frame; the deployed controller evaluates it with an identity approximation of the inverse left Jacobian.
2. **Monte Carlo simulation comparison.** A comparison against a conventional MPCC baseline that uses an inertial position-error formulation, showing that among the configurations whose every simulated gate crossing stays within the prescribed geometric margin, DQ-MPCC reduces minimum lap time by 6.7%, while running in real time.
3. **Real-world validation without retuning.** Experiments on an eight-gate circuit where, with the same gains as in simulation, DQ-MPCC keeps every gate-crossing offset of its completed flights within the prescribed margin while the baseline exceeds it, and minimum lap time is reduced by 10.5% relative to the baseline MPCC.
4. **Positioning against prior formulations.** A structured comparison table showing that the compared MPCC and dual-quaternion methods (including MPCC++ and DQ-NMPC) do not formulate minimum-time quadrotor racing directly on SE(3), which is the gap this work closes.

## Main Findings

- **Simulation lap time:** At the deployed gains over n = 100 Monte Carlo seeds, DQ-MPCC achieved a minimum lap time of 3.226 ± 0.007 s versus 3.457 ± 0.010 s for the MPCC baseline, and an average lap time of 3.252 ± 0.004 s versus 3.478 ± 0.006 s.
- **Speed–margin trade-off in simulation:** The deployed baseline actually had *smaller* gate offsets in simulation than DQ-MPCC — maximum offset 17.88 ± 0.62 cm versus 24.53 ± 0.73 cm, average offset 12.01 ± 0.20 cm versus 15.85 ± 0.20 cm, contour-error RMSE 5.23 ± 0.14 cm versus 12.70 ± 0.11 cm, and lag-error RMSE 1.44 ± 0.02 cm versus 1.60 ± 0.04 cm. DQ-MPCC's advantage is in lap time at a given margin-compliance requirement, not in raw tracking accuracy in simulation.
- **The margin requirement drives the comparison:** The authors report that the baseline's fastest five-run candidate (2.86 s) exceeded the safe radius R_safe in 10 of its 93 completed runs and was rejected. All seven non-dominated baseline configurations faster than the deployed baseline gains exceeded R_safe: six already at n = 30 screening (34.0–46.1 cm offsets) and the seventh at n = 100 (48.8 cm); that seventh configuration was also the only examined baseline configuration to strike a gate during racing laps (7/100, against none for either deployed controller).
- **Sim-to-real degradation:** The baseline's median worst-gate offset grew by 71.5% from simulation to the real world, whereas DQ-MPCC's decreased by 10.1%.
- **Real-world outcome:** With identical gains in simulation and hardware, DQ-MPCC kept every gate crossing of its completed flights within the prescribed geometric margin, while the baseline exceeded that margin at its worst gate. Minimum lap time was reduced by 10.5% relative to the baseline.
- **Exact-versus-approximate error coordinate:** An ablation using the exact inverse left Jacobian at the deployed gains was faster still in simulation (3.141 ± 0.012 s minimum lap time, 3.164 ± 0.011 s average) but had slightly larger gate offsets (24.55 ± 0.80 cm maximum, 15.44 ± 0.44 cm average) than the deployed approximation. The authors describe the deployed identity approximation as introducing a non-negligible racing-speed error that the ablation quantifies.
- **Speed envelopes were comparable:** Maximum speed over racing laps was 11.19 m/s (MPCC), 11.00 m/s (DQ-MPCC) and 11.09 m/s (exact ablation), so lap-time differences were not driven by a higher top speed.
- **Runtime:** The controller runs onboard at 100 Hz with an external state estimate and is compatible with standard flight controllers.
- **Run accounting:** Of 100 attempts per controller, 8 (MPCC) and 10 (DQ-MPCC) were lost to a faulty simulator reset, leaving 92 and 90 completed runs in the reported medians.
- **Not reported in the available text:** The truncated content cuts off part of the simulation results table (99th-percentile acceleration, RMS body rate, per-lap path length) and does not include the full real-world results table or absolute real-world lap times, so those values cannot be stated here.

## Methodology in Plain English

**Building the track reference.** The team defines an eight-gate circuit in an 11 × 4.5 × 3.65 m space. Each gate has a 0.50 m aperture, and with a 0.20 m propeller-tip radius the usable clearance is 0.30 m — the "geometric margin" every crossing is later judged against. An offline optimizer flies a simplified point-mass model through the gates as fast as possible (with acceleration capped at 5g and vertical acceleration kept above −0.9g so the required thrust stays upward), keeps the path within 5 cm of each gate center, and requires a forward crossing at each gate. That planned path is then re-parameterized by arc length, smoothed, and converted into a full position-and-attitude reference using differential flatness, with a fixed-yaw convention and a final smoothing pass that keeps the reference body rate inside a 20 rad/s envelope. A variable "tube" around the path narrows at gates and widens between them.

**The control problem.** Rather than prescribing how long each part of the path should take, the controller treats progress along the path (arc length and its speed) as decision variables, so it accelerates as far as the constraints permit. The vehicle state adds progress and speed to the pose and body twist, and the control input is collective-thrust rate, body-rate commands, and progress acceleration. The optimal control problem is solved with acados using real-time SQP iterations over a 31-step, 1.48 s horizon on a non-uniform grid that concentrates resolution near the current state, integrating with ERK4 and a Gauss-Newton Hessian approximation.

**The distinctive part.** Instead of comparing the drone's position to the reference in world coordinates, the method builds a single dual-quaternion error between the current and desired pose. Taking the logarithm of that error produces a six-number error vector — rotation error plus a translational error — living in the tangent space at the desired pose and written in the desired body frame. That translational error is then split along and across the path tangent, producing a "lag" term and a "contouring" term that are weighted separately in the cost. In the deployed controller the translational part is further simplified by approximating the inverse left Jacobian as identity, which reduces it to the reference rotation transposed times the position difference.

**Constraints and integrity of the representation.** Thrust magnitude and rate, body-rate commands, progress acceleration, and progress bounds are hard constraints; the lag bound (0.5 m) and variable-radius tube are soft constraints with penalized slacks. Because integrating the quaternion numerically lets it drift off the unit sphere and off the dual-quaternion orthogonality condition, a Baumgarte-style correction (gain 10 s⁻¹) is added inside the integrator, and the orthogonality constraint is re-established each control iteration by rebuilding the dual quaternion from the estimated pose.

**The baseline.** The baseline is deliberately matched on solver, horizon, constraints, reference, actuation, and cost structure. It differs only in coordinates: it propagates the standard inertial position/velocity/quaternion/body-rate model and decomposes the error into an inertial position error plus a body-frame attitude error. The authors note that with isotropic weights the two costs share the same term structure and the error norms coincide — but the second derivatives differ and the prediction models propagate different coordinates, so the nonlinear programs are not equivalent.

**Tuning and deployment protocol.** Both controllers are tuned offline with Optuna using a multi-objective search (NSGA-III, then TPE refinement, then a final evaluation under matched progress-speed bounds), with 100 trials per controller per stage and 3 MuJoCo seeds. The bi-objective problem trades penalized minimum lap time against worst-case gate offset, keeping the maximum gate offset unpenalized so the speed-versus-margin trade-off stays explicit. Gain selection then takes the ten fastest configurations per controller whose worst tuning offset stays within the safe radius, re-evaluates them over five full-path software-in-the-loop runs on the actual onboard computer with physically solid gates, and finally requires the margin to hold across a 100-run evaluation. Simulation uses MuJoCo with the onboard flight computer running the unmodified control software while the vehicle, state estimate, and actuator interface are simulated; all software-in-the-loop evaluations run on the same Jetson Orin NX used in the hardware experiments. Injected odometry noise was 1 cm, 0.5°, 0.01 m/s, 0.035 rad/s. The platform parameters include a 1.08 kg mass and a 30 ms first-order body-rate lag.

## Why This Matters

**Impact on research.** The paper makes a narrow but useful methodological point: coordinate choice in a nonlinear MPC is not cosmetic. Two controllers with the same dynamics, same constraints, same cost structure and same instantaneous error norms can behave differently because their Hessians and their horizon propagations differ. It also introduces an on-manifold, dual-quaternion formulation of *contouring* control (as opposed to the time-indexed tracking objective of prior dual-quaternion NMPC work) and supplies a matched-protocol comparison, including an honest accounting of gains that were rejected for violating the safety margin. The sim-to-real result — a 71.5% growth in worst-gate offset for the baseline versus a 10.1% decrease for DQ-MPCC under identical gains — is a concrete data point on representation-driven robustness to state-estimation error.

**Real-world applications:**

- **Drone racing leagues and time-trial competition**, where gate margins and lap time are the scoring criteria.
- **Inspection of cluttered or confined structures** (industrial plants, tanks, tunnels) where the vehicle must hold a tight corridor around a prescribed path while flying fast.
- **Search-and-response or delivery through aperture sequences**, where passing through a window or gap within a clearance bound is a hard requirement rather than a soft preference.
- **Onboard guidance for agile micro aerial vehicles** where a full 6-DoF model at 100 Hz on embedded hardware is the binding constraint.

**Industry relevance.** The controller runs onboard at 100 Hz on a Jetson Orin NX with an external state estimate and uses a standard body-rate command interface, so it is deployable on conventional flight-controller stacks rather than requiring bespoke low-level firmware. The explicit treatment of a geometric clearance (R_safe = 0.30 m) as a hard acceptance criterion during gain selection, rather than an adjustable tolerance, reflects the kind of certification-style reasoning that industrial aerial inspection and racing programs require.

## Future Directions

- **Closing the approximation gap.** The deployed controller uses an identity approximation of the inverse left Jacobian, and the paper's own ablation shows the exact coordinate is faster in simulation (3.141 s versus 3.226 s minimum lap time) at a small cost in gate offset. Making the exact coordinate cheap enough to deploy, and characterizing when the approximation is acceptable, is a direct open question.
- **Separating coordinate effects from tuning confounds.** The authors explicitly flag independently tuned gains as a confound, since both controllers were optimized separately. A fixed-gain, cross-evaluated study would isolate how much of the 6.7% and 10.5% lap-time gains come from the SE(3) formulation itself versus the tuning landscape it induces.
- **Closed-loop state estimation.** The current setup uses an external state estimate; the 71.5% versus 10.1% sim-to-real divergence suggests that coupling the controller to an onboard visual-inertial estimator, and studying how each coordinate choice interacts with estimator error, would be the informative next test.
- **Beyond the gate-crossing metric.** The paper notes that crossing-margin compliance is an event metric at gate planes and does not guarantee collision-free traversal elsewhere. Extending the soft-tube formulation to continuous whole-trajectory clearance, and testing on circuits with tighter or non-planar gate geometry, would strengthen the safety claim.

## Target Audience

Researchers and graduate students working on nonlinear MPC for aerial vehicles, geometric control on Lie groups, or aggressive autonomous flight; drone-racing teams and competition-oriented engineers who need real-time onboard controllers; and practitioners in embedded optimization who care about how state parameterization affects solver behavior and sim-to-real transfer. Readers without a background in dual-quaternion algebra, differential flatness, and real-time SQP will find the mathematical sections demanding, though the experimental protocol and the simulation-to-hardware comparison are accessible on their own.

## Authors’ abstract

Quadrotor racing demands aggressive attitude and progress control while passing through every gate, and conventional quadrotor MPCC formulations state the prediction model in inertial coordinates and the attitude error in the body frame. We present a Dual-Quaternion Model Predictive Contouring Control (DQ-MPCC) for quadrotor racing in which the pose is a unit dual quaternion and the contouring errors are projected onto the tangent space of the dual quaternion manifold,…

[The full abstract on arXiv](https://arxiv.org/abs/2609.36482)

[Read the original paper](https://arxiv.org/abs/2609.36482)

## Related papers

- [ClearNav: Perception-Aligned Quadrotor Flight Using Differential-Physics](https://robotics.world/paper/clearnav-perception-aligned-quadrotor-flight-using-differential-physics-2610.17419) 2026-10-12 · cs.RO · Also by Guanrui Li
- [Does RRT* Work on Uneven Terrain Meshes?](https://robotics.world/paper/does-rrt-work-on-uneven-terrain-meshes-2611.05885) 2026-11-04 · cs.RO · Also by Tiago Nascimento
- [Decentralized UAV Swarms for Ground Target Protection in GPS- and Communication-Denied Environments](https://robotics.world/paper/decentralized-uav-swarms-for-ground-target-protection-in-gps-and-2607.20710) 2026-07-22 · cs.RO · Also by Tiago Nascimento

---

Canonical: https://robotics.world/paper/dq-mpcc-dual-quaternion-mpcc-for-quadrotor-racing-2609.36482
