Low-Latency Mapless ESDF Queries for
MAV Reactive Collision Avoidance

IEEE Robotics and Automation Letters (RA-L), 2026
A drone flies along a reference path past tree trunks. Three posed depth images from its recent past are drawn as frustums; distances and gradients for points along the local trajectory are computed in every image in parallel and then merged.
The environment is represented as a set of posed depth images. For each query, distances and gradients are computed in every image in parallel and then merged. The dense field is drawn for illustration only, and all computations are in 3D.

No Map, No Wait

Total latencynew depth image to last collision answer
=
Pre-processingbuild or update the map, once per image
+
Query timegrows with the number of queries

Planning can only react to a new depth image after the total latency has passed. A map has to be built or updated before it answers the first query on a new image. In long-horizon planning, this cost is shared by millions of queries. A reactive planner usually issues only a few hundred queries per image, so the pre-processing of a map makes up most of the total latency.

Our method therefore works without a map. It answers ESDF queries directly on a buffer of posed depth images on the GPU. The only pre-processing is storing the depth ranges of each new image.

Unless stated otherwise, all timings on this page were measured on an NVIDIA Jetson Orin NX 16 GB, the drone's onboard computer.

Log-log scatter of pre-processing time against query time for 400 queries. P2M sits above a thousand seconds of pre-processing, voxblox near twenty seconds, and NVBlox, FIESTA, the KD-tree and the Embree mesh between one and two hundred milliseconds. Only our method sits below the dashed 66 ms budget curve, at about two milliseconds of pre-processing and four of query time.
Pre-processing time and query time for the 400 queries of one MPC update. All points on the dashed curve have a total latency of 66 ms, the frame period of a 15 Hz camera. Our method is the only one below this curve, so it is the only one whose total latency is shorter than one camera frame.
6.2 ms total latency for 400 queries at full resolution, including pre-processing
0.3 ms median pre-processing per depth frame
5.9 MiB memory for five full-resolution frames, compared with 66 MiB for NVBlox at 2 cm

Abstract

Reactive collision avoidance in unknown, cluttered environments must perceive obstacles and correct motion within milliseconds. Existing methods rely on maps for high-rate collision queries, but their acceleration structures require pre-processing. That cost is amortized in long-horizon planning, where a map serves millions of queries; reactive planning, however, is a near-field, short-horizon problem with potentially only hundreds of queries per measurement, where building a map may not pay off. We propose a mapless, GPU-accelerated ESDF query with negligible pre-processing that operates directly on posed depth images, with resolution set by pooling the image rather than by a voxel size. On an embedded GPU it is simultaneously more accurate and lower in total latency than every voxel-grid configuration we measured between 2 cm and 20 cm, at one to two orders of magnitude less memory at matched resolution. With our query integrated into a model predictive controller (MPC), simulated runs in laser-scanned forests at up to 9 m/s collide in 0.4 % through dense branches, against 5.9 % with the best voxel grid and 5.5 % with the best mapless baseline at our resolution, whose failures we attribute to voxel resolution and total latency respectively. We deploy the system onboard at two forest sites and fly at commanded speeds of up to 4 m/s.

Method

We keep the most recent posed depth images in a circular buffer and answer each distance query directly from their pixels. All frames and pixels are processed in parallel on the GPU. When a new frame arrives, we only compute the minimum and maximum depth of each block of pixels. A query uses these values to skip the parts of an image that are farther away than the truncation radius.

The resolution follows the camera, with fine detail close to the sensor and coarser detail farther away. It can be reduced by min-pooling the image. Min-pooling keeps the nearest depth in each window, so thin obstacles become slightly thicker and remain visible.

As the camera moves, its posed depth images fill the slots of the buffer. The distance fields of all frames are then merged into one. The dense field is drawn for illustration only, since in practice only the query points are evaluated.

Use in ESDF-based planners

Distances and gradients

Each query returns the signed distance, its gradient, and the closest obstacle point. Optimization-based planners can use these as constraints or costs.

Optimistic, conservative, or both

Unknown space can be treated as free or as occupied. Both results come from the same buffer, so a planner can use them together, as FASTER does.

Independent of the planner

We demonstrate the query inside a collision-avoiding MPC. The same queries could also be used in different planners, for example in corridor-based planners or in a safety filter for a learned policy.

Algorithm Steps

Input

1
A cyclic buffer of posed depth images

We use depth images that are posed by visual-inertial odometry. A cyclic buffer holds the latest frame and several past keyframes. A new keyframe replaces the oldest one once the camera has moved or rotated far enough, or once enough time has passed.

2
A full 3D ESDF, shown in 2D

The buffered frames define a full 3D Euclidean signed distance field. The animation shows one frame as a 2D slice, in which each unprojected depth pixel is a point on an observed surface.

Unprojected depth pixels of one frame, drawn as short surface pieces in a 2D slice.

Pre-processing

3
Blocks

Each image is split into blocks of 32 × 16 pixels, a size chosen for efficient execution on the GPU.

Camera rays fan out from the camera; groups of rays are outlined as blocks.
4
Block depth ranges

When an image arrives, we store the minimum and maximum depth of every block. Apart from memory management, this is the only pre-processing.

Each block drawn as a band between its minimum and maximum depth.

Nearest observed surface (optimistic handling)

5
A query point

For a query point, we search for the nearest unprojected depth pixel in all buffered frames at the same time.

A single query point among the block depth ranges.
6
Truncation sphere

We truncate the field at a radius rmax, because obstacles farther away are not relevant for reactive planning. The truncation sphere allows most of the image to be skipped.

A sphere drawn around the query point.
7
Prune by image extent

First, we keep only the blocks inside the bounding box of the sphere's projection into the image.

The wedge of image columns covered by the sphere is highlighted; blocks outside it are greyed out.
8
Prune by depth

Second, we keep only those blocks whose depth range overlaps the depth range of the sphere.

The depth range of the sphere drawn as a band; only one block intersects it.
9
Optimistic distance

The pixels of the remaining blocks are checked in parallel. Each pixel writes its squared distance and its image coordinates into one 64-bit key, so a single hardware atomicMin operation finds the nearest point. This optimistic distance treats unknown space as free.

The nearest surface point connected to the query point, labelled optimistic distance.

Occlusion boundaries (conservative handling)

10
Shrink the sphere

To account for unknown space, we also search the occlusion boundaries. The search radius is limited to the optimistic distance, so the sphere and the set of active blocks become smaller.

The sphere shrunk to the optimistic distance, with a narrower wedge of active columns.
11
Every pixel ray

In the remaining blocks, we consider the camera ray through every pixel.

Individual pixel rays drawn inside the active wedge.
12
Segments

Each ray is cropped between its own depth and the depth of the neighbouring pixel closest to the query. The resulting segment is part of an occlusion boundary. The same atomicMin reduction finds the point on these segments that is closest to the query.

One ray segment between two neighbouring depths, labelled segment.
13
Conservative distance

The result is a conservative distance that treats unknown space as occupied and can be smaller than the optimistic one. Skipping this step gives the optimistic result and saves nearly half of the query time.

A shorter distance from the query point to the segment, labelled conservative distance.

Merging the frames

14
Max-pooling across frames

Every frame returns a signed distance, which is positive where the frame observed the query point as free and negative where the point lies in its unknown space. The final value is the maximum over all frames, so a point counts as free if any frame observed it as free. The animation shows the dense field for illustration, while in practice only the query points are evaluated.

Results

Total latency over the number of queries

Building a map takes time once per depth image and makes each following query cheap. This pays off when enough queries use the same image. Our MPC evaluates the distance and its gradient at 20 horizon stages in each of up to 20 solver iterations, which gives at most 400 queries per update. For this number of queries, our method has the lowest total latency of all compared methods.

400 queries per update of our MPC
≈ 2.5×104 queries at the first break-even, where NVBlox at 2 cm becomes faster than our method at full resolution. This is about 60 times the number of queries per MPC update.
Total latency over the number of queries on a log-log plot, each method at its finest setting. Ours starts lowest at a few milliseconds and stays lowest through the shaded reactive-planning band of 100 to 1000 queries and past the 400 queries of one MPC update; NVBlox becomes cheaper than ours first, at about 25,000 queries.
Total latency from the start of the last of five integrated frames to the answer of the last query, with each method at its finest setting. Blue markers show conservative and red markers optimistic handling of unknown space. Fig. 4c of the paper shows the full figure, including every method at about 10 cm.

The buffer only holds the last few frames. For long-horizon planning, where one image serves millions of queries and areas out of view have to be remembered, a map is the more suitable representation. Our query can then serve as a reactive safety layer below the map-based planner.

Runtime on Different HardwareBeyond the paper

Compared with the Orin NX, our batched queries run 5.5 times faster on the Jetson AGX Thor and 58 times faster on the RTX 5090, while NVBlox integrates a frame 2 and 5.7 times faster. The first break-even therefore moves to a higher number of queries on the faster GPUs. These measurements are not part of the peer-reviewed paper.

NVIDIA RTX 4070 Laptop GPU, limited to 60 W

≈ 6.3×104 queries at the first break-even, at full resolution
Total latency over the number of queries on an RTX 4070 Laptop GPU, each method at its finest setting. Ours stays lowest until about 63,000 queries.

NVIDIA Jetson AGX Thor

≈ 6.8×104 queries at the first break-even, at full resolution
Total latency over the number of queries on a Jetson AGX Thor, each method at its finest setting. Ours stays lowest until about 68,000 queries.

NVIDIA RTX 5090 workstation

≈ 3.5×105 queries at the first break-even, at full resolution
Total latency over the number of queries on an RTX 5090 workstation, each method at its finest setting. Ours stays lowest until about 350,000 queries.

Closed-loop flights through thin forests

We fly the same MPC with each representation through laser-scanned forests at speeds from 1 to 9 m/s, with 200 runs per speed. Each representation is charged the compute time it needs on the Orin NX. With our method at full resolution, 97 % of the runs through the trunks reach the goal without a collision. Through the dense branches, 0.4 % of the runs collide, and most other runs stop safely where the vehicle cannot pass. No pooling level of our method exceeds a collision rate of 2 %.

Simulated runs through the branches and the trunks of a laser-scanned forest.

The KD-tree and the mesh over the same pixels need 169 ms and 110 ms per frame to build their acceleration structures. This delays every plan, and many runs stop before reaching the goal. When no compute time is charged, both match our method at full resolution, which shows that their failures come from latency. NVBlox cannot integrate a frame within the camera period at 2 cm, and at coarser voxel sizes its collision rate increases with the voxel size.

FIESTA allocates a dense volume over the mapped extent, so its memory admits only 20 cm voxels in these forests. Through the trunks, it comes close to our goal rate. Through the branches, it reaches more goals than our method, because it treats unobserved space as free and its map covers the whole scene, while our buffer covers the recent field of view. Its collision rate there is 5.9 %, fifteen times ours.

Horizontal stacked bars of reached goal, safe stop and collision for our method, the KD-tree and the mesh at pool 1, NVBlox at 5 cm and FIESTA at 20 cm, through the trunks and the branches. Ours reaches nearly every goal through the trunks and rarely collides through the branches; the KD-tree and the mesh stop often; NVBlox collides in 7 % of the runs through the trunks and in 44 % through the branches; FIESTA reaches more goals through the branches but collides more often.
Outcomes of every representation at its finest resolution, averaged over the five speeds. For NVBlox, this is 5 cm, since at 2 cm every run stops. Fig. 6 of the paper shows all pooling levels and voxel sizes.

Pose uncertainty

The merge keeps the largest distance over all frames, so a pose error in an older frame can make obstacles appear smaller than they are. We therefore enlarge obstacles by a margin computed from the odometry covariance. In simulation with noisy depth and odometry noise of 4 cm and 0.4°, the margin lowers the collision rate through the branches from 38.2 % to 21.1 %. Its benefit depends on how accurate the covariance estimate is.

Recording 3D-printed letters with a D455 camera posed by OKVIS2-X, and the queried ESDF around them without and with the margin. Without the margin, free space enters the letters.

Real-world forest flights

We flew a drone with a Jetson Orin NX, a RealSense D455 camera, and OKVIS2-X odometry five times at each of two sites, one with bare trunks and one with bushes and fine branches, at commanded speeds of up to 4 m/s. All ten flights reached the goal without a collision and without operator intervention.

1.2 ms median pre-processing per frame, with the full software stack running
14.8 / 34.1 ms median time from measurement to released plan, in the trunks and in the branches

The additional time in the branches is spent in the optimizer, while the time per query stays the same. The finer geometry requires a median of 20 solver iterations instead of 6 in the trunks, and each iteration queries the horizon again. When planning exceeds the camera period, the controller continues to track the previous plan.

The upper half shows the drone from outside. The lower half shows the onboard camera image with the planned trajectory, and the buffered depth data with the plan.

BibTeX

@article{freissmuth2026mapless,
    title={Low-Latency Mapless {ESDF} Queries for {MAV} Reactive Collision Avoidance},
    author={Freissmuth, Leonard and Le Gentil, Cedric and Oleynikova, Helen and Leutenegger, Stefan},
    journal={IEEE Robotics and Automation Letters},
    year={2026}
}