# COAST: Safe Flight Corridor Planner for Fast and Robust Snap Minimized Trajectories

Robotics.world

> Existing B-Spline trajectory planners force a choice: keep hard geometric safety guarantees and pay in computation time, or drop hard bounds in favor of soft collision penalties to hit real-time…

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

**Published**: 2026-11-17

**Authors**: Alejandro Pelaez, Randal W. Beard

## In plain words

Existing B-Spline trajectory planners force a choice: keep hard geometric safety guarantees and pay in computation time, or drop hard bounds in favor of soft collision penalties to hit real-time speeds. COAST aims to have both, generating a minimum-snap trajectory that is mathematically proven to stay inside obstacle-free volumes while solving in under 5 ms on average.

## AI summary

## Overview

**Research area:** Autonomous aerial robotics — online trajectory planning and obstacle avoidance for multirotor drones. **Technical level:** Advanced. The paper assumes familiarity with B-splines, convex optimization, quadratic programs, and quadrotor dynamics. **Scope:** COAST is an online, B-Spline-based trajectory planner that produces snap-minimized, dynamically feasible quadrotor trajectories with formal Safe Flight Corridor (SFC) containment guarantees, validated in high-fidelity simulation.

## What This Paper Is About

Existing B-Spline trajectory planners force a choice: keep hard geometric safety guarantees and pay in computation time, or drop hard bounds in favor of soft collision penalties to hit real-time speeds. COAST aims to have both, generating a minimum-snap trajectory that is mathematically proven to stay inside obstacle-free volumes while solving in under 5 ms on average. The target is a planner fast enough for online deployment on a drone using only onboard sensor data, without giving up hard safety limits.

## Key Contributions

1. **Snap minimization via vector B-Spline representation.** A quadratic cost function on control point placement is derived using derivative matrices and a pre-computable basis integral matrix, so the snap penalty matrix is constant and can be computed offline.
2. **A rectangular-prism SFC formulation adapted for multirotor flight.** Corridors are built as a chain of rectangular prisms with width and height that resize dynamically and asymmetrically according to local obstacle geometry, extending a fixed-wing representation to true 3D multirotor use.
3. **A coupled QP that jointly enforces snap minimization, SFC boundaries, and kinodynamic limits.** Boundary conditions, spatial safety, and velocity/acceleration bounds are stacked into a single sparse constraint matrix solved with OSQP.
4. **MINVO transforms for tight kinodynamic bounding.** Rather than standard B-Spline bounding, the planner applies MINVO matrix transformations to get less conservative velocity and acceleration bounds, enabling more aggressive flight without violating vehicle limits.

## Main Findings

- **Formal containment via the convex hull property:** Because a B-Spline segment is contained in the convex hull of its active control points, constraining sequential control points — and specifically constraining shared control points to the overlapping intersection of sequential SFCs — mathematically guarantees the continuous curve stays inside the non-convex union of corridors.
- **Open-loop Monte Carlo (1,000 randomized forests, 5% obstacle density, no closed-loop controller):** across 103,687 quadratic program solves, success rate was 81.9%, replan time was 3.12 ms mean and 1.76 ms median, and OSQP solve time was 0.67 ms mean and 0.32 ms median. 91.0% of trajectories were recovered on the first solve attempt without time-budget relaxation.
- **Failures are stalls, not crashes:** 17.8% of trials stalled versus 0.3% that collided — roughly 59 stalls per collision. The median trial closed 97.5% of the start-to-goal distance, and 59.4% of plans used a single corridor.
- **Compact plans:** median plans used eight control points (mean 8.66 ± 1.47), and plan-mean speed was 2.59 ± 0.24 m/s.
- **Closed-loop ROSflight benchmark (ten trials per density):** at 5% density the success rate was 100.0% with 0.89 ms optimization time and 2.46 ms end-to-end replan time; at 10% density, 90.0% success with 1.10 ms and 4.25 ms respectively. The single failure was a stall.
- **Zero kinodynamic violations:** ρ_vel = ρ_acc = 0 for every trial at both densities, meaning no commanded setpoint violated the per-axis velocity or acceleration limits — even though constraints are imposed on control points at optimization time and checked on the densely sampled executed trajectory.
- **Travel times are conservative:** 47.48 s and 109.79 m path length at 5% density, 50.16 s and 119.68 m at 10%. Because the snap cost stencil needs four spline segments, every trajectory spans at least eight control points, which under uniform knots imposes a floor on commanded duration independent of path length. Jerk is not constrained by the QP and is reported only as a performance metric (64.58 and 129.20 m/s²).
- **Closed-loop success exceeds open-loop** because the closed-loop system keeps executing its committed setpoint buffer through a failed replan, while the offline rollout advances only along each newly solved trajectory.

## Methodology in Plain English

The planner splits the problem in two. A front end runs A* over a voxelized map to get a rough path, then greedily prunes it: from each node it shoots a straight-line ray until it hits an obstacle, keeps the last collision-free node, and repeats. That yields a minimal set of waypoints, and around each segment it builds a rectangular prism — a box it knows contains no obstacles — sized by projecting nearby obstacle points onto the segment's local axes and shrinking whichever face the obstacle penetrates most.

The back end fits a fourth-degree clamped B-Spline through those boxes by choosing where to put the control points. Two properties of B-Splines do the heavy lifting. The finite support property means each segment of the curve depends on only a handful of nearby control points, so the resulting matrices are sparse and the problem stays local. The convex hull property means that if those few control points all sit inside a box, the curve between them must too. So safety becomes a set of simple linear inequalities on control points, enforced where consecutive boxes overlap so the curve can't slip out at the seams.

Smoothness is handled by minimizing snap (the fourth derivative of position). The authors show the snap integral reduces to an algebraic expression depending only on the control points, with a constant penalty matrix that is pre-computed offline and expanded to three dimensions with a Kronecker product. Velocity and acceleration limits are added by expressing derivatives as linear transformations of the same control points, then bounding the MINVO-transformed control points, which give a tighter hull than raw B-Spline control points. Everything goes into one sparse QP solved by OSQP, which exploits the sparsity.

Validation happens in two stages: 1,000 randomized forest trials without a controller to isolate the planner, then closed-loop flights using ROSflight for quadrotor physics with ROScopter as the high-level autopilot. Environments are 100 × 40 m fields with cylindrical obstacles at 5% and 10% density, flown from (0,0,3) to (105,0,3) at 3 m cruise altitude against 6 m trunks so climbing over the field isn't an option; each map was pre-verified to admit a collision-free route at an inflation exceeding the planner's 0.69 m footprint. Velocity and acceleration limits were 5 m/s and 20 m/s². All runs used an Intel Core i7-7700 at 3.60 GHz with 16 GB RAM, Ubuntu 24.04 LTS, and ROS 2 Jazzy.

## Why This Matters

The paper's central claim is that hard safety bounds and real-time performance do not have to be traded against each other. Because the corridor constraints are hard inequalities, an infeasible situation surfaces as a solver failure the system can detect, rather than as a silent safety violation — a meaningful distinction for certification-minded deployment. The sub-5 ms replanning times put the planner in the regime where it can run inside a control loop on modest hardware.

**Real-world applications:**

- Package delivery drones flying through cluttered urban or suburban airspace
- Autonomous inspection of infrastructure such as bridges, power lines, and industrial plants
- Search and rescue in forests, collapsed structures, or other cluttered environments
- Agricultural monitoring and spraying at low altitude among trees and structures

**Industry relevance:** The explicit treatment of corridor formulation, convex-hull-based containment proofs, and MINVO-based dynamic bounds makes this a practical reference for teams building onboard planners. The authors release source code at https://github.com/byu-magicc/Minimum-Snap-Trajectories, which lowers the barrier to reproduction and comparison.

## Future Directions

- **Reducing stalls:** The authors plan to explore advanced local and global horizon algorithms to mitigate the stalls that dominate the open-loop failure cases.
- **Faster flight via non-uniform knots:** The uniform knot structure and the eight-control-point floor currently cap commanded speed, producing conservative travel times. The authors propose integrating non-uniform knot sequences through control point representation transformations.
- **Hardware validation:** Results are simulation-only. The next step is rigorous indoor and outdoor hardware experiments to confirm the kinodynamic guarantees hold on a physical vehicle.
- **Fixed-wing extension:** The architecture is intended to extend to fixed-wing platforms, building on the corridor representation the paper adapted from prior fixed-wing work.

## Target Audience

Robotics graduate students and researchers working on aerial trajectory planning and optimization-based motion planning will get the most from this. It is also well suited to practicing engineers implementing onboard planners for multirotor products, and to readers already familiar with B-Spline trajectory methods who want a clear treatment of how to couple corridor containment, snap minimization, and kinodynamic bounds in a single QP. Readers without a background in B-Splines or convex optimization will find the mathematical sections demanding.

## Authors’ abstract

Current B-Spline trajectory planners face a critical trade-off: they either sacrifice computational speed to maintain strict Safe Flight Corridor (SFC) guarantees, or they abandon hard safety bounds in favor of soft-constraint penalties to achieve real-time performance. We present COAST (Corridor-Optimized Aerially-Safe Trajectories), a B-Spline based, online trajectory planner capable of formulating snap minimized trajectories with SFC guarantees. COAST divides the problem…

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

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

## Related papers

- [Drone Navigation for Fast, Safe Emergency Response](https://robotics.world/paper/drone-navigation-for-fast-safe-emergency-response-2611.19818) 2026-11-15 · cs.RO · Key terms of the title in common
- [Anticipatory Risk-Guided Reinforcement Learning for Safe Flight Through Dynamic Clutter](https://robotics.world/paper/anticipatory-risk-guided-reinforcement-learning-for-safe-flight-through-2607.23565) 2026-07-26 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/coast-safe-flight-corridor-planner-for-fast-and-robust-snap-minimized-2611.22447
