LoKiTO: Local Kinodynamic Trajectory Optimization for UAVs based on Memory-Efficient Neural Distance Fields
This paper introduces LoKiTO, a 3D local kinodynamic trajectory optimizer that combines a Chebyshev polynomial parameterization with an online neural Euclidean Signed Distance Field (ESDF) representation for aerial robotics. While current gradient-based planners often struggle with the high memory requirements of explicit volumetric maps or fail to strictly enforce dynamic limits, LoKiTO embeds kinodynamic constraints directly into a modular cost function and exploits the numerical conditioning properties of the Chebyshev basis.
From the abstract. Our summary is in progress.
Full paper
LoKiTO: Local Kinodynamic Trajectory Optimization for UAVs based on Memory-Efficient Neural Distance Fields
Published under CC BY-SA 4.0. Reproduced with attribution; original at arXiv:2611.28438 (PDF).
Abstract
This paper introduces LoKiTO, a 3D local kinodynamic trajectory optimizer that combines a Chebyshev polynomial parameterization with an online neural Euclidean Signed Distance Field (ESDF) representation for aerial robotics. While current gradient-based planners often struggle with the high memory requirements of explicit volumetric maps or fail to strictly enforce dynamic limits, LoKiTO embeds kinodynamic constraints directly into a modular cost function and exploits the numerical conditioning properties of the Chebyshev basis. Collision awareness is provided by a continuous, memory-efficient neural ESDF updated online from LiDAR measurements, which drastically reduces map memory consumption to approximately 1.0 MB. Benchmarking in highly cluttered simulated environments against state-of-the-art baselines (Fast-Planner and EGO-Planner) demonstrates the superiority of our approach. Experimental results show that LoKiTO achieves over 99.4% dynamic feasibility compliance, significantly outperforming the baselines, and maintaining higher median clearance from obstacles. By coupling a well-conditioned continuous parameterization with explicit kinodynamic reasoning, LoKiTO provides a practical and extensible basis for local replanning in aerial robotics. The source code is open source and can be found at: https://anonymous.4open.science/r/LoKiTO-RAL
I Introduction
Aerial robotics, and autonomous drones in particular, is a rapidly growing field of robotics thanks to its wide range of applications. Drones can perform tasks efficiently while avoiding endangering human lives in the process [1]. However, scenarios of critical tasks such as disaster management [2] or urban firefighting [3] are dynamic and partially unknown. Because of that, trajectory replanning has become a critical part of any drone’s computation pipeline. This is clearly shown by the increasing investigation effort in that direction in the last decade [4]. The creation and management of an up-to-date 3D map of the surrounding environment also becomes necessary in order to avoid and maintain a safe distance from obstacles.
Space representation and mapping has seen significant change and evolution, from the earliest occupancy grids, through triangular meshes and point cloud representations, to modern methods such as Gaussian splatting [5], Gaussian EDFs [6] or bitmask-based TSDFs [7]. Each of these paradigms offers different trade-offs between memory consumption, query efficiency, and geometric fidelity of captured surfaces, without a clear winning option for general usage among them [8].
Among these alternatives, Euclidean Signed Distance Fields (ESDFs) stand out. An ESDF encodes, at every point in space, the signed Euclidean distance to the closest obstacle. The resulting scalar field is Lipschitz-continuous and differentiable everywhere except at the cut-locus [9]. The gradient’s norm is also, by definition, equal to one. These properties have made ESDFs particularly attractive for robot navigation [10]. In practice, ESDFs are most commonly built on discrete voxel grids that are updated incrementally as new sensor measurements arrive, as exemplified by Voxblox [11], FIESTA [12], or Voxfield [13]. Neural representations eliminate some well-known limitations of discrete counterparts: the trade-off between resolution and memory, and the need to interpolate between neighboring cells whenever a distance or gradient is required [14].
The appeal of neural ESDFs is best understood when looking at how they are exploited inside a trajectory planner. Sampling- and search-based methods produce geometrically optimal paths but disregard flight safety and dynamic feasibility, requiring post-processing before deployment. Meanwhile, distance fields provide the gradient information that turns planning into a smooth optimization problem [10].
We present a local kinodynamic trajectory optimizer that exploits the properties of both a continuously updated neural ESDF and a polynomial basis to achieve replanning rates suitable for online and local operation. We improve safety and flight time of the resulting trajectories by integrating drone dynamics in the optimization. The proposed parameterization also makes the integration of desired constraints straightforward and the modular structure of the cost function allows the planner to be easily extended with additional task-specific requirements.
This paper is organized into six sections. Section II discusses the state of the art. Section III introduces the overall framework structure, and Section IV delves into the design of the polynomial trajectory planner. Section V validates the approach experimentally, including a comparison with other state-of-the-art planners, and Section VI presents the conclusions and future development lines.
II Related Work
Recent approaches to 3D trajectory planning can be broadly grouped into two main families based on the chosen optimization philosophy. Hard-constrained methods formulate trajectory generation as a constrained optimization problem in which dynamic feasibility and obstacle avoidance are encoded as explicit constraints. The canonical example is the minimum-snap formulation, which generates smooth polynomial trajectories by minimizing high-order derivatives subject to waypoint and continuity constraints [15]. Building on this idea, [16] combines a front-end kinodynamic search with a back-end elastic optimization, while [17] casts the problem as a mixed-integer quadratic program whose binary variables select among convex safe regions, providing rigorous safety guarantees at a notably higher computational cost.
The second family, gradient-based optimization methods, relaxes hard constraints into soft penalty terms within a differentiable cost function minimized by local gradient descent. CHOMP [18] popularized this paradigm by jointly optimizing smoothness and obstacle cost through functional gradients. Most quadrotor planners in this line rely on an ESDF to supply the obstacle gradient [19], although maintaining the field is expensive relative to the fraction of it that the optimizer actually queries. EGO-Planner [20] therefore avoids ESDFs, computing repulsive directions directly from colliding trajectory segments, although gradients remain valid only near the current solution.
A second axis concerns how the trajectory itself is parameterized, which determines the cost of enforcing constraints and the coupling between geometry and timing. For piecewise polynomials, kinodynamic limits and boundary conditions translate into algebraic expressions of the coefficients. On the other hand, B-splines enforce feasibility through the convex-hull property of their control points [16, 19], which is conservative and leaves time allocation to an outer heuristic, whereas recent formulations couple the spatial and temporal profiles within a single sparse representation at the cost of a specialized back-end [21].
A third axis is how environmental information is encoded. Some early continuous-time formulations optimize a polynomial trajectory against an ESDF cost for online replanning [10], while EWOK [22] queries a local circular buffer storing the field for real-time collision avoidance. Fast-Planner [19] and RAPTOR [23] couple a kinodynamic front-end with a B-spline back-end driven by ESDF gradients.
Finally, the field has moved toward learned distance representations queried in a differentiable manner. iSDF [14] trains a neural SDF online from posed depth images, and subsequent work has scaled the idea through hybrid grid-network representations and lightweight architectures for large scenes [24, 25]. In [26] the authors embed a local neural ESDF into a nonlinear MPC, using its analytical gradients as collision-avoidance constraints, and [27] proposes a composite neural ESDF combining static reconstructions with object-level representations for dynamic indoor scenes. Moreover, [28] introduces a framework that optimizes natural polynomial trajectories directly over a neural ESDF representation. These works establish that neural fields can be differentiated efficiently enough for online use, but they restrict the field to the immediate vicinity of the robot within a control horizon [26], assume a reconstruction obtained beforehand [27], or do not achieve a suitable planning rate and dynamic compliance for practical use [28]. We propose a mapping subsystem that avoids those limitations by being globally usable without prior reconstruction, as shown in Section V, as well as a polynomial representation that achieves kinodynamic compliance with a suitable planning rate.
III Framework structure
Figure 1 shows a complete overview of the proposed trajectory planning pipeline. We can subdivide the framework into a neural mapping subsystem and a local trajectory planning subsystem.
III-A Online Mapping with a Global ESDF Neural Network
Our framework’s environment is represented by a neural ESDF trained online as the drone flies. An onboard 3D LiDAR provides point clouds that are transformed into global coordinates via global localization and converted into training samples by two complementary methods (Fig. 1). The parameters shown in this section are defined and tuned in Section V.
Surface sampling traces virtual rays from the LiDAR towards points of the latest cloud and estimates their ESDF against a FIFO buffer of the last n_{\text{PCD}} point clouds, which attenuates LiDAR noise and prevents ESDF overestimation [14, 24]. Pairs with \left|ESDF_{\text{k}}\right|>t_{\text{t}} are discarded to avoid errors [14], and up to n_{\text{sur}} of the remaining pairs are kept per training iteration.
Free space sampling covers regions near and far from obstacles using a modified Voxfield [13] node restricted to a low-resolution local map. Cropping keeps the message deserialization time bounded as the explored area grows and focuses the samples on the region relevant to local planning, as well as limiting the stored data memory usage. Samples are split into an obstacle zone (ESDF_{\text{k}}<d_{\text{lim}}) and a free zone (ESDF_{\text{k}}>d_{\text{lim}}), from which \rho_{\text{obs}}\times j_{\text{obs}} and \rho_{\text{free}}\times j_{\text{free}} samples are drawn. Choosing \rho_{\text{obs}}>\rho_{\text{free}} concentrates network accuracy where trajectory safety is most critical.
Both sample sets feed a SIREN network [29], an architecture well suited to represent continuous scalar fields such as ESDFs [24, 28]. Training runs asynchronously for n_{\text{epochs}} epochs on the most recent samples, so the planner always queries the latest available network at its own rate.
III-B Local Trajectory Planning
The planning loop, as a pure local planner, expects to have a precomputed global path in the form of successive 3D coordinates. To calculate an appropriate local goal, we define the local environment (local window from now on) as a user-configurable three-dimensional L_{x}\times L_{y}\times L_{z} prismatic space centered on the drone.
The framework chooses the last coordinate of the global path within the local window as a provisional local goal G^{\prime}. Assuming that a safe local goal G should satisfy ESDF(G)\geq ESDF_{s}, where ESDF_{s} is the minimal distance considered safe from the closest obstacle, this provisional goal may not meet this restriction. Let S_{G^{\prime}}(r) denote a certain spherical surface of radius r centered at G^{\prime}. The system performs parallel queries of the neural network of points p\in S_{G^{\prime}}(r) that land inside the local window for increasing values of r (in \Delta r steps), looking for the point closest to G^{\prime} such that ESDF(p)\geq ESDF_{s}. This point is then defined as the local goal G=(x_{G},y_{G},z_{G}).
After that, the trajectory planning is performed using a non-linear optimizer that considers kinodynamic restrictions to calculate a suitable polynomial trajectory to the local goal. This continues until the drone reaches the global goal.
IV Continuous Trajectory Planner on ESDFs
This section describes the proposed trajectory planner based on a single non-linear optimizer using Ceres Solver1.
IV-A Chebyshev representation and state vector
The purpose of this trajectory planner is to provide a continuous 3D trajectory for an omnidirectional drone as a parametric representation in the form \mathbf{p}(t)=(x(t),y(t),z(t)). Each component will be modeled as a fifth-order polynomial, combining the flexibility of high-order polynomials while maintaining a relatively low number of parameters to be optimized.
The most common design choice for polynomial representation of 3D trajectories is B-splines. They provide formal guarantees of constraint satisfaction through the convex hull property, but this comes at the cost of a larger number of decision variables. More critically, even when B-splines are employed, jerk constraints remain fundamentally non-convex and computationally expensive to handle, often requiring specialized reformulation techniques to achieve convexity [30].
In this approach, we have chosen a representation based on Chebyshev polynomials; they offer a distinct advantage in the context of dynamic constraints and efficiency. As they are orthogonal, this choice is not merely a representational convenience. Recent work has demonstrated that, when using gradient-based optimizers, the Chebyshev basis consistently outperforms the classical polynomial formulation in terms of convergence behavior [31]. This superior convergence allows our optimizer to find high-quality solutions in fewer iterations. As we show in Section V, this formulation improves optimizer performance compared to classical monomial power basis approaches [28]. Additionally, a polynomial representation allows direct calculation of key characteristics of the final trajectory, such as its total length, velocity, or acceleration. This will be leveraged when defining the cost functions described throughout this section.
The Chebyshev polynomials of the first kind, T_{n}, are defined by the following trigonometric expression.
T_{n}(s)=\cos\bigl(n\arccos(s)\bigr),\quad s\in[-1,1]There is also a recursive way to obtain them:
\displaystyle T_{0}(s) \\ \displaystyle=1 \\ \displaystyle T_{1}(s) \\ \displaystyle=s \\ \displaystyle T_{n+1}(s) \\ \displaystyle=2sT_{n}(s)-T_{n-1}(s)The three fifth-order polynomials that represent the trajectory to be optimized can be written as follows:
\displaystyle\begin{split}x(s)={}&c_{0}T_{5}(s)+c_{1}T_{4}(s)+c_{2}T_{3}(s)\\
&+c_{3}T_{2}(s)+c_{4}T_{1}(s)+c_{5}T_{0}(s)\end{split} \\ \displaystyle\begin{split}y(s)={}&c_{6}T_{5}(s)+c_{7}T_{4}(s)+c_{8}T_{3}(s)\\
&+c_{9}T_{2}(s)+c_{10}T_{1}(s)+c_{11}T_{0}(s)\end{split} \\ \displaystyle\begin{split}z(s)={}&c_{12}T_{5}(s)+c_{13}T_{4}(s)+c_{14}T_{3}(s)\\
&+c_{15}T_{2}(s)+c_{16}T_{1}(s)+c_{17}T_{0}(s)\end{split}where c_{k} denotes coefficient k. Using the recursive definition (4), we can obtain the remaining Chebyshev polynomials:
\displaystyle T_{2}(s) \\ \displaystyle=2s^{2}-1 \\ \displaystyle T_{3}(s) \\ \displaystyle=4s^{3}-3s \\ \displaystyle T_{4}(s) \\ \displaystyle=8s^{4}-8s^{2}+1 \\ \displaystyle T_{5}(s) \\ \displaystyle=16s^{5}-20s^{3}+5sWe will be using the original s\in[-1,1] Chebyshev domain during the optimization, so that s=-1 corresponds to the local start and s=1 to the local goal. Using this normalized variable avoids ill-conditioned optimization problems and facilitates smooth convergence to the solution. The equivalence between the normalized variable s and real local trajectory time t\in[0,T], with T the total local trajectory time, can be written as s=2t/T-1.
We can then define the state vector \mathbf{c} considered by the optimizer as the one that contains all eighteen coefficients of the polynomials and the total local trajectory time:
\mathbf{c}=\begin{bmatrix}c_{0},c_{1},c_{2},\dots,c_{15},c_{16},c_{17},T\end{bmatrix}The trajectory represented by equations (5-7) refers to a local reference system, where the drone remains centered in the middle of the local window.
The initial state vector that is fed to the optimizer is the state vector of the last trajectory optimizer occurrence. As a local trajectory planning framework, both the local start and the local goal suffer minimal changes between adjacent planning occurrences. This allows every local trajectory output from the optimizer to be a good initial estimate of the next one, which leads to the system performing fewer optimization iterations, drastically reducing the total optimization time.
For the case where there is no previous occurrence of the planning loop, the framework uses an initial state vector representing a straight line at constant velocity (set to half the drone’s maximum velocity v_{\max}) between the local start and local goal. This constitutes the optimal spatial solution in the absence of obstacles while also being fast to compute.
IV-B Cost Functions
A key feature of our framework is the ease with which constraints can be integrated through modular cost functions. The presented formulation comprises seven cost functions, each contributing one or more residuals that the optimizer seeks to minimize through an iterative process. The resulting objective function minimized by Ceres Solver is defined as
\min_{\mathbf{c}}\;\frac{1}{2}\sum_{i}\sum_{j}\left(\|w_{i}e_{i,j}(\mathbf{c})\|^{2}\right)with \mathbf{c} the state vector, e_{i,j} the residual j for the cost function i and w_{i} the weighting parameter for the cost function i. In this subsection, we detail the constraints and their residuals. The weighting factors will be discussed in Section V.
Although the Chebyshev formulation improves optimizer performance, it can be difficult to follow. To address this, we will rearrange the equations (5-7) for better clarity, resulting in the following monomial basis formulation:
\displaystyle x(s)={} \\ \displaystyle p_{5x}s^{5}+p_{4x}s^{4}+p_{3x}s^{3}+p_{2x}s^{2}+p_{1x}s+p_{0x} \\ \displaystyle y(s)={} \\ \displaystyle p_{5y}s^{5}+p_{4y}s^{4}+p_{3y}s^{3}+p_{2y}s^{2}+p_{1y}s+p_{0y} \\ \displaystyle z(s)={} \\ \displaystyle p_{5z}s^{5}+p_{4z}s^{4}+p_{3z}s^{3}+p_{2z}s^{2}+p_{1z}s+p_{0z}IV-B1 Total Length Cost Function
A constraint that penalizes the total length of the local trajectory, leading to more efficient navigation.
The length L of a certain parametric 3D curve \mathbf{r(s)}=(x(s),y(s),z(s)) in the range [-1,1] can be calculated as follows.
L=\int_{-1}^{1}\lVert\mathbf{r}^{\prime}(s)\rVert\,ds=\int_{-1}^{1}\sqrt{\left(\frac{dx}{ds}\right)^{2}+\left(\frac{dy}{ds}\right)^{2}+\left(\frac{dz}{ds}\right)^{2}}\,dsWe use the Gauss–Legendre quadrature, which provides a way to approximate integrals and is stated as
\int_{-1}^{1}f(\xi)d\xi\approx\sum_{i=1}^{n}b_{i}f(\xi_{i})with \xi_{i} the roots of the degree-n Legendre polynomial P_{n}(\xi) and b_{i} the associated weights.
Although the square root makes the integrand non-polynomial, for which the method theoretically yields the exact value, Gauss–Legendre quadrature still converges rapidly for smooth integrands. We choose n=5, which we found sufficiently accurate in practice.
With this method, the residual of this cost function reduces to a weighted sum of the norm of the trajectory derivatives evaluated at the quadrature nodes:
e_{1,1}(\mathbf{c})=L=\sum_{i=1}^{5}b_{i}\sqrt{x^{\prime}(\xi_{i})^{2}+y^{\prime}(\xi_{i})^{2}+z^{\prime}(\xi_{i})^{2}}The derivatives for equations (5-7) are trivial. Computing the nodes (\xi_{i}) and weights (b_{i}) of the Gauss–Legendre quadrature rule is beyond the scope of this paper; we refer the reader to the classical algorithm by Golub and Welsch [32]. Table I lists the values for the 5-point rule.
- 1
- 0
- \frac{128}{225}
- 2, 3
- \pm\frac{1}{3}\sqrt{5-2\sqrt{10/7}}
- \frac{322+13\sqrt{70}}{900}
- 4, 5
- \pm\frac{1}{3}\sqrt{5+2\sqrt{10/7}}
- \frac{322-13\sqrt{70}}{900}
IV-B2 ESDF Cost Function
A constraint that integrates the ESDF information into the optimizer, avoiding trajectories close to obstacles. The framework uses the Ceres Solver evaluation callback to query the ESDF value and the gradient of a set of n_{\text{ESDF}} points on the trajectory to the closest obstacle in every optimizer iteration. The samples are taken in an equidistributed manner along the s axis, avoiding the fixed local start and goal. The residual of this function is calculated as follows.
e_{2,1}(\mathbf{c})=\frac{1}{n_{\text{ESDF}}}\sum_{k=0}^{n_{\text{ESDF}}-1}e^{-\alpha(o_{k}-\sigma)}It is designed to be predominant when the ESDF distance o_{k} of any sample k falls below a certain threshold \sigma. The parameter \alpha defines how aggressive the function behaves. Both \alpha and \sigma are further explored in Section V.
IV-B3 Smoothness Cost Function
A constraint that incentivizes the optimizer to increase low-order coefficients, leading to smooth velocity and acceleration profiles. We define twelve residuals for this cost function.
\displaystyle e_{3,1}(\mathbf{c}) \\ \displaystyle=p_{2x}, \\ \displaystyle e_{3,2}(\mathbf{c}) \\ \displaystyle=p_{3x}, \\ \displaystyle e_{3,3}(\mathbf{c}) \\ \displaystyle=h_{\text{stiff}}\,p_{4x}, \\ \displaystyle e_{3,4}(\mathbf{c}) \\ \displaystyle=h_{\text{stiff}}\,p_{5x}\displaystyle e_{3,5}(\mathbf{c}) \\ \displaystyle=p_{2y}, \\ \displaystyle e_{3,6}(\mathbf{c}) \\ \displaystyle=p_{3y}, \\ \displaystyle e_{3,7}(\mathbf{c}) \\ \displaystyle=h_{\text{stiff}}\,p_{4y}, \\ \displaystyle e_{3,8}(\mathbf{c}) \\ \displaystyle=h_{\text{stiff}}\,p_{5y}\displaystyle e_{3,9}(\mathbf{c}) \\ \displaystyle=z_{\text{stiff}}\,p_{2z}, \\ \displaystyle e_{3,10}(\mathbf{c}) \\ \displaystyle=z_{\text{stiff}}\,p_{3z}, \\ \displaystyle e_{3,11}(\mathbf{c}) \\ \displaystyle=z_{\text{stiff}}\,h_{\text{stiff}}\,p_{4z}, \\ \displaystyle e_{3,12}(\mathbf{c}) \\ \displaystyle=z_{\text{stiff}}\,h_{\text{stiff}}\,p_{5z}The weighting factor h_{\text{stiff}} further increases the weighting of the fourth- and fifth order coefficients. We use the additional weighting factor z_{\text{stiff}} as a result of the practical limitations of a 3D LiDAR. This sensor captures a point cloud with a higher density at the current flight altitude. This results in slightly better network performance around this altitude. Therefore, the weighting encourages the optimizer to prioritize longitudinal movements over vertical movements, which leverages the properties of the zones of the neural network that are better tuned.
IV-B4 Fixed Start and End Cost Function
A constraint that ensures that the previously computed local start and local goal are preserved through the optimization process.
\displaystyle\mathbf{e}_{4,1}(\mathbf{c}) \\ \displaystyle=\Bigl(\mathbf{p}(-1)-\mathbf{p}_{\text{start}}\Bigr) \\ \displaystyle\mathbf{e}_{4,2}(\mathbf{c}) \\ \displaystyle=\Bigl(\mathbf{p}(1)-\mathbf{p}_{\text{goal}}\Bigr)As Ceres Solver does not support complex multi-state hard constraints, they are introduced as cost functions with a high weighting factor.
IV-B5 Initial Dynamic State Cost Function
A constraint that ensures that the drone’s velocity and acceleration at the local start match its current values. Let \mathbf{v}_{\text{c}} be the current velocity of the drone and \mathbf{a}_{\text{c}} be its current acceleration. We can then define the residuals as follows:
\displaystyle\mathbf{e}_{5,1}(\mathbf{c}) \\ \displaystyle=\Bigl(\mathbf{p}^{\prime}(-1)-\mathbf{v}_{\text{c}}\frac{T}{2}\Bigr) \\ \displaystyle\mathbf{e}_{5,2}(\mathbf{c}) \\ \displaystyle=\Bigl(\mathbf{p}^{\prime\prime}(-1)-\mathbf{a}_{\text{c}}\frac{T^{2}}{4}\Bigr)IV-B6 Dynamic Limits Enforcement Cost Function
A constraint that enforces the drone’s velocity, acceleration, and jerk limits by penalizing dynamic states that exceed these limits at n_{\text{DYN}} uniformly distributed sample points along the trajectory, using softplus functions that approximate the behavior of a hard constraint while remaining differentiable. Let v_{\max}, a_{\max}, and j_{\max} denote the maximum allowed velocity, acceleration, and jerk of the drone, respectively. The residuals are defined for each sample point i\in[0,n_{\text{DYN}}-1] as follows:
\displaystyle e_{6,3i+1}(\mathbf{c}) \\ \displaystyle=\frac{1}{n_{\text{DYN}}}\,\text{softplus}_{k_{\text{softplus}}}\left(\frac{\frac{2}{T}\|\mathbf{p}^{\prime}(s_{i})\|}{v_{\max}}-1\right) \\ \displaystyle e_{6,3i+2}(\mathbf{c}) \\ \displaystyle=\frac{1}{n_{\text{DYN}}}\,\text{softplus}_{k_{\text{softplus}}}\left(\frac{\frac{4}{T^{2}}\|\mathbf{p}^{\prime\prime}(s_{i})\|}{a_{\max}}-1\right) \\ \displaystyle e_{6,3i+3}(\mathbf{c}) \\ \displaystyle=\frac{1}{n_{\text{DYN}}}\,\text{softplus}_{k_{\text{softplus}}}\left(\frac{\frac{8}{T^{3}}\|\mathbf{p}^{\prime\prime\prime}(s_{i})\|}{j_{\max}}-1\right)where k_{\text{softplus}} is the softplus sharpness constant.
IV-B7 Trajectory Time Minimization Cost Function
A constraint that penalizes trajectory time, leading to efficient navigation. The residual can be written as follows:
e_{7,1}(\mathbf{c})=TA lower bound is also imposed on T at each trajectory planning occurrence, corresponding to the time required to traverse the straight-line distance between the local start and goal at v_{\max}, preventing the optimizer from exploring physically infeasible values of T.
V Experimental Validation and Benchmarking
To assess the performance of the proposed framework, in this section we benchmark it against two state-of-the-art local trajectory planners: the Fast-Planner [19] and the EGO-Planner [20]. The former relies on a discrete ESDF built incrementally from an occupancy map. We use the topological branch as it is their best recognized version of the framework. The latter eliminates the need for maintaining an ESDF altogether, as collision information is estimated only for trajectory segments that intersect obstacles, and the gradient used for obstacle avoidance is obtained directly from the occupancy grid map.
The benchmarking is conducted in a 40\,\mathrm{m}\times 65\,\mathrm{m}\times 7.5\,\mathrm{m} simulated environment populated with square pillars of cross-section 0.5\,\mathrm{m}\times 0.5\,\mathrm{m}, randomly distributed with a density of 0.15\,\mathrm{pillars/m^{2}}, resulting in a highly cluttered scenario, similar to the one used in [20]. Figure 2 shows the simulated map. All frameworks are evaluated on the same hardware: an AMD Ryzen 7 7735HS CPU (3.2 GHz base clock) with 32 GB of RAM, running Ubuntu 20.04 LTS inside a Docker container over Ubuntu 22.04, with a RTX 4060 Laptop 8GB RAM GPU.
V-A Parameter and weight tuning
Our framework relies on a set of parameters whose optimal values are inherently application-dependent. This section shows the values used throughout the experimental validation, summarized in Table II, together with the rationale behind their selection.
The mapping constants were chosen to trade off accuracy against training time. The cost-function weights were tuned incrementally, introducing one constraint at a time and adjusting its weight until the desired behavior was obtained.
The remaining parameters were obtained from previous studies (\alpha and \sigma, following the analysis in [33, 28]), derived from the dimensions of the local window (n_{\mathrm{ESDF}} and n_{\mathrm{DYN}}), tuned experimentally (h_{\mathrm{stiff}}, z_{\mathrm{stiff}} and k_{\mathrm{softplus}}), or set to typical values for commercial platforms (v_{\max}, a_{\max} and j_{\max}).
- Mapping
- n_{\mathrm{PCD}}
- PCDs for ESDF comparison
- 3
- –
- t_{\mathrm{t}}
- Sample truncation distance
- 0.2
- m
- n_{\mathrm{sur}}
- Surface sampling points
- 5\times 10^{3}
- –
- d_{\mathrm{lim}}
- ESDF limit between zones
- 1.5
- m
- \rho_{\mathrm{obs}}
- Point density, obstacle zone
- 0.05
- –
- \rho_{\mathrm{free}}
- Point density, free zone
- 0.01
- –
- n_{\text{epochs}}
- Epochs per iteration
- 10
- –
- Local window and goal selection
- L_{x}\!\times\!L_{y}\!\times\!L_{z}
- Local window dimensions
- 6.0\!\times\!6.0\!\times\!2.0
- m
- \mathrm{ESDF}_{s}
- Min. safe clearance for G
- 1.5
- m
- \Delta r
- Radial step for G search
- 0.1
- m
- Cost-function weights
- w_{1}
- Total length
- 2\times 10^{2}
- –
- w_{2}
- ESDF barrier
- 3\times 10^{3}
- –
- w_{3}
- Smoothness
- 2
- –
- w_{4}
- Fixed start and end
- 10^{5}
- –
- w_{5}
- Initial dynamic state
- 10^{5}
- –
- w_{6}
- Dynamic limits
- 2\times 10^{6}
- –
- w_{7}
- Trajectory time
- 5\times 10^{3}
- –
- Optimizer
- \alpha
- ESDF cost sharpness
- 4
- m-1
- \sigma
- ESDF cost threshold
- 1.5
- m
- k_{\mathrm{softplus}}
- Softplus sharpness
- 50
- –
- n_{\mathrm{ESDF}}
- ESDF sample points
- 20
- –
- n_{\mathrm{DYN}}
- Dynamic sample points
- 50
- –
- h_{\mathrm{stiff}}
- High-order stiffness
- 50
- –
- z_{\mathrm{stiff}}
- Vertical stiffness
- 100
- –
- Platform limits
- v_{\max}
- Maximum velocity
- 3.0
- m/s
- a_{\max}
- Maximum acceleration
- 2.0
- m/s2
- j_{\max}
- Maximum jerk
- 4.0
- m/s3
V-B Mapping Performance
On the mapping side, we evaluate the cost of building and maintaining each environment representation—the neural implicit map in our case, the incrementally updated ESDF in Fast-Planner, and the occupancy grid map in EGO-Planner—in terms of memory footprint and update time, with a simulated LiDAR pointcloud as the main source of spatial information. Table III shows the update time and memory consumption of the three considered frameworks with their recommended resolutions.
- Fast-Planner [19] (0.1 m)
- 26.6 ms
- 2082.8 MB
- EGO-Planner [20] (0.1 m)
- 6.1 ms
- 334.7 MB
- Ours
- 609.1 ms
- 1.0 MB
It can be seen that explicit volumetric structures of Fast-Planner and EGO-Planner are updated locally over a fixed set of voxels and are therefore fast, but their memory cost grows cubically with the mapped volume and with the inverse of the voxel size. Our representation reverses this balance, reducing the memory footprint at the cost of a slower update caused by the network training pipeline. More importantly, this cost is governed by the network architecture rather than the extent of the mapped space, thus requiring only a rough approximation of the map dimensions before the flight to adjust the network size.
Regarding the accuracy of the learned representation, we assessed it by comparing the queried distances and gradients with the ground-truth ESDF over training iterations. The network recovers the distance field with an error below 0.1m for 83.3\% of the evaluated points, below 0.3m for 91.2\% and below 0.5 m for 97.3\%. The iterative nature of the optimization process mitigates the impact of the few incorrectly predicted points, resulting in safe navigation as long as the safety distance is correctly tuned.
Although the optimizer only evaluates n_{\text{ESDF}} discrete points along the trajectory, the spacing between samples is designed to be much smaller than the ESDF threshold in the current configuration. This, combined with the accuracy of the representation, makes it impossible for obstacles between samples to be overlooked by the planner.
Regarding the gradient, over 92.5\% of the samples exhibited the correct direction together with a magnitude within [0.85,1.15], consistent with the eikonal condition [34]. This is relevant as the optimizer relies on this gradient to steer the trajectory away from obstacles. The accurate gradient with near-unit norm allows for well-conditioned updates.
V-C Trajectory Planning Performance
Evaluating our trajectory optimizer against the other two state-of-the-art methods requires a fair evaluation protocol. To account for structural differences between frameworks, four flights along manually controlled paths were recorded in simulation together with all sensor data, as shown in Figure 3. Then, the recordings were replayed to each of the three frameworks in turn with the same replanning rate, achieving over 1500 local trajectories under the same conditions for each benchmarked method. Figure 4 shows a portion of the local trajectories for one of the four flown paths.
This procedure allows the behavior of the benchmarked frameworks to be compared under identical inputs across a wide set of controlled situations in the previously described cluttered environment. Since neither Fast-Planner nor EGO-Planner is able to displace its local goal away from obstacles, and both are designed to operate with large local ranges, their local horizon was extended to 6\mathrm{m} and the resulting trajectory was cropped to the horizon defined in Table II, so that the total length and duration of the trajectory remain comparable.
Table IV shows the measured results for all the output trajectories of the three planners. Both our framework and Fast-Planner returned a trajectory in every planning iteration, whereas EGO-Planner failed to reach a solution in 17.3\% of them. Our planner keeps the required 0.4 m clearance in 99.2\% of the iterations and attains the highest mean and median distance to nearby obstacles, 1.119 m and 1.028 m respectively.
When comparing dynamic feasibility, it is only fair to check velocity and acceleration limits, as jerk is not enforced in the chosen state-of-the-art methods. Our framework complies with the desired dynamic limits in 99.4\% of the planning iterations. It achieves this behavior due to the dynamic limits being embedded in the optimizer costs as heavily weighted restrictions. The other methods achieve only 22.5\% and 52.1\% of dynamic compliance under the per-axis criterion they themselves use [19, 20]. This follows from two design choices: feasibility enters their objective as a soft term weighted an order of magnitude below smoothness and path fitting, and the time reallocation triggered upon dynamic limits violation is applied once and re-optimized again without a second feasibility check. Furthermore, as stated above, none of them implement jerk limits. Our framework not only complies with the imposed limits, but shapes the trajectory so as to exploit them. This situates the median peak values of |v|, |a| and |j| within 4\% of their respective bounds.
Regarding computation time, our framework solves each planning iteration in 73.05 ms on average, i.e. an update rate of 13.7 Hz. Although this is one order of magnitude slower than the state-of-the-art methods, it remains well above the rate required for local planning. The table also shows that, while our framework generates safer trajectories than the other methods, the resulting path length remains comparable.
For the duration comparison to be fair, every trajectory exceeding the imposed limits was time-scaled by the smallest factor that brings velocity, acceleration and jerk back into range, so that only trajectories the drone could actually fly are compared. It should be taken into account that the jerk is included here, unlike in the feasibility analysis. Compliance measures whether a planner meets the constraints it models, whereas duration measures physical executability, for which all three limits must apply. The data show that our framework generates flight trajectories that take advantage of the drone’s dynamic capabilities to calculate the fastest trajectories overall of the benchmarked methods.
- Safety
- Planning Success (%)
- \mathbf{100.0}
- \mathbf{100.0}
- 82.7
- Clearance \geq 0.4 m (%)
- 99.2
- \mathbf{99.6}
- 82.7
- Clearance, mean (m)
- \mathbf{1.119}
- 0.967
- 0.861
- Clearance, median (m)
- \mathbf{1.028}
- 0.806
- 0.667
- Direct output dynamic feasibility (v and a)
- Feasible, 3-D norm (%)
- \mathbf{97.4}
- 17.8
- 33.7
- Feasible, per-axis (%)
- \mathbf{99.4}
- 22.5
- 52.1
- \max|v|, median (m/s)
- \mathbf{2.896}
- 2.812
- 2.343
- \max|v|, worst (m/s)
- \mathbf{3.030}
- 5.507
- 3.963
- \max|a|, median (m/s2)
- \mathbf{1.937}
- 3.525
- 2.332
- \max|a|, worst (m/s2)
- \mathbf{2.138}
- 13.949
- 13.282
- \max|j|, median (m/s3)
- \mathbf{3.905}
- 12.705
- 8.691
- \max|j|, worst (m/s3)
- \mathbf{4.113}
- 80.489
- 115.652
- Computation time
- Median (ms)
- 37.82
- 1.46
- \mathbf{0.98}
- Mean (ms)
- 73.05
- 7.24
- \mathbf{6.50}
- Trajectory quality
- Path length (m)
- 3.166
- \mathbf{3.060}
- 3.197
- Executable duration (s)
- \mathbf{2.528}
- 2.652
- 2.779
VI Conclusion
We present a non-linear optimization-based trajectory planner that uses a continuously updated neural ESDF with low memory usage. The results show improvements over state-of-the-art approaches in trajectory duration and safety, while maintaining a safe planning rate. It is also shown that the resulting trajectories exploit the drone’s dynamic envelope rather than merely staying inside it.
The wide set of kinodynamic restrictions used during the optimization, as well as using trajectory time as an optimizable variable, has proven to yield a significant improvement in safety and dynamic compliance when compared to other methods. The online neural mapping used for environmental representation allows for reduced memory footprint, at the cost of longer map refresh times, without losing accuracy in a significant way.
As future work, reducing the computation time of the optimizer remains a promising investigation line. Another approach should be integrating other recent online mapping technologies to lower the map refresh latency while still remaining low-memory.