Research
GPU-accelerated Incremental Euclidean Distance Transform for Online Motion Planning of Mobile Robots
Released GPU mapping code maintains a global Euclidean distance transform incrementally at planning rates, giving mobile-robot teams a usable alternative to rebuilding distance fields from scratch.

- arXiv
- 2610.41667
- Published
- 2026-10-30
- Authors
- Yizhou Chen, Shupeng Lai, Jinqiang Cui, Biao Wang, Ben M. Chen
In plain words
Motion planners need to know how far away the nearest obstacle is from any point in space, and they need that answer many times per planning cycle. Precomputing a Euclidean Distance Transform (EDT) over the map makes each such query O(1), but maintaining an accurate, up-to-date EDT on a small robot's onboard computer is expensive — especially for the global map, which grows as the robot explores.
AI summary
Overview
Research area: Robotics — volumetric mapping and environment representation for motion planning (occupancy grid maps, Euclidean distance transforms, GPU parallel computing).
Technical level: Advanced. The paper assumes familiarity with voxel maps, distance transforms, and CUDA-style parallel programming, though its high-level claims are accessible.
Scope (one sentence): The paper presents a GPU-based mapping system that builds occupancy grid maps and exact Euclidean distance transforms in parallel, and incrementally merges new local distance information into a persistent global map fast enough to run onboard small aerial and ground robots.
What This Paper Is About
Motion planners need to know how far away the nearest obstacle is from any point in space, and they need that answer many times per planning cycle. Precomputing a Euclidean Distance Transform (EDT) over the map makes each such query O(1), but maintaining an accurate, up-to-date EDT on a small robot's onboard computer is expensive — especially for the global map, which grows as the robot explores. The paper's goal is a mapping system that computes both the occupancy grid map (OGM) and the EDT with massive GPU parallelism, and that keeps a global EDT consistent and incrementally updated as the robot moves, rather than only maintaining a memoryless local map.
Key Contributions
- An efficient approach that generates both the OGM and the EDT through massive parallelization, including a GPU-parallel ray casting method (using CUDA atomic operations to resolve write conflicts) and a GPU-parallel volumetric projection method for LiDAR-style sensors.
- A global EDT integration method that incrementally constructs a global EDT with a dynamically adjustable map size, using a GPU hash table for spatial efficiency plus parallel wavefront propagation to reconcile new local observations with historical ones.
- Deployment and validation of the full system on both aerial and ground robotic platforms (MAV and UGV) with onboard motion planning and limited computational resources.
- An open-source release of the system code (github.com/JINXER000/GIE-mapping).
Main Findings
-
Coalesced memory access matters: On the UGV-Corridor dataset with an Nvidia Xavier NX, the batch EDT averaged 46 ms without coalesced memory access versus 19 ms with it (tensor transposes via the cuTT library are used to reorder memory between scans).
-
Propagation algorithm comparison: On the Cow-and-Lady dataset (Intel i5-8300H CPU, GTX1060 GPU, 6 m × 6 m × 3 m local range, 0.05 m resolution, thread-block limit 512, 6-connectivity), global EDT integration took 10 ms with the proposed method, versus 22 ms for GPU prefix-sum BFS, 250 ms for GPU Bellman-Ford, 790 ms for a CPU bucket heap, 2035 ms for a GPU bucket heap, and 3020 ms for a GPU priority queue. The GPU bucket heap was slower than its CPU counterpart, which the authors attribute to the data structure being unsuited to GPUs.
-
Faster than FIESTA on both platforms: Using the UGV-Corridor dataset with a 10 m × 10 m × 1.2 m local volume, 2 Hz update frequency and 0.05 m resolution, the method outperformed FIESTA in speed on both a PC (Intel i5-8300H + GTX1060) and an Nvidia Xavier NX. The comparison was set up in FIESTA's favor by disabling its
global_updateoption so it only updated locally. -
Stable speed as the environment changes: In the Gazebo-synthesized UAV-Pillar experiment (0.2 m resolution, 20 m × 20 m × 6 m local update range), the paper's mapper kept an almost constant construction speed as the environmental change score increased, while traditional wave-propagation-based mappers took progressively longer.
-
Better accuracy than FIESTA locally: RMS error against a K-D-tree ground truth decreased as voxel resolution increased (finer voxels) and as connectivity increased from 6-connected upward; the proposed mapper was more accurate than FIESTA in every tested setting because its batch EDT is exact. A batch-EDT-only version was plotted to show that global integration is still necessary.
-
Better global accuracy: Over the entire map, the system's RMS error was lower than FIESTA's and GPU-LO's, and the extra overhead of maintaining the global EDT on both GPU and CPU was reported as negligible compared to FIESTA's growing load.
-
Real-time on real robots: An MAV with a 2D LiDAR and an Intel RealSense T-265 tracking camera, running entirely on an onboard Xavier NX, updated the EDT at 10 Hz within a 20 m × 20 m area at 0.1 m voxel width while flying to unmapped regions. A UGV with a 16-line LiDAR navigated autonomously among pedestrians at 0.1 m resolution with a 20 m × 20 m × 1.2 m local volume, on an Intel i5 9300H CPU with an Nvidia 1660Ti GPU.
Methodology in Plain English
The system has three stages.
1. Building the occupancy map. Sensor data is fused into a voxel grid, where each voxel stores an occupancy probability plus visibility information. Two GPU-parallel methods are offered. The first is ray casting: each depth-image pixel is projected into 3D, a ray is cast to the measured point, and voxels along the ray are updated — with CUDA atomics preventing two rays from corrupting the same voxel (cost scales as O(nl/q) for n points, average travel distance l, voxel size q). The second is volumetric projection: instead of tracing rays outward from pixels, each voxel in the local volume is projected into the sensor frame and compared against the measured range (cost O(N) for N voxels, no atomics needed). The authors prefer volumetric projection when sensor intrinsics are available, because it also marks free space for rays that return no hit, and because very high-resolution sensors would otherwise need down-sampling.
2. Computing an exact local distance transform. Rather than propagating distances outward from newly seen voxels — the approach used by Voxblox and FIESTA, which accumulates error — the system computes an exact EDT over the whole local volume using a GPU adaptation of Meijster's linear-time scanning algorithm extended to 3D. It scans one axis at a time, decomposing memory into independent lines that map onto parallel threads; between axes, cuTT transposes the volume so memory access stays coalesced. The auxiliary scans solve a lower-envelope-of-parabolas problem, and alongside each distance value the algorithm records which obstacle is nearest, since that record is needed later.
3. Merging locally into the global map. A local EDT alone is wrong at the edges: obstacles that drift out of sensing range vanish, and dynamic obstacles appear and disappear. So a "GETSOURCE" step inspects the boundary voxels of the local volume and their neighbors in a GPU hash table holding the global map, sorting them into frontiers for cases where a distance value must rise (an obstacle disappeared), fall (a new obstacle appeared), or be corrected because a remembered obstacle outside the volume is actually closer. A parallel wavefront then propagates corrections. Because GPU wavefronts are inherently inefficient, the authors adapt hierarchical frontiers: small frontiers live in a thread block's shared memory, and only frontiers larger than a thread block spill to global memory. Levels are chosen dynamically by frontier size. The updated hash-table region is streamed from GPU to CPU, so both copies of the global EDT stay current.
Why This Matters
Impact on research. The paper attacks a specific weak point in the mapping literature: wavefront-propagated EDTs (Voxblox, FIESTA, GPU-LO) are fast but accumulate error and struggle to keep a large global map consistent, while exact distance-transform algorithms from pattern recognition assume a fixed-size, fully known binary image. This work connects the two, showing that an exact batch transform plus a parallel incremental merge can be both accurate and fast on hardware small enough to fly.
Real-world applications:
- Autonomous drones flying through cluttered, previously unmapped indoor spaces where a planner needs continuous distance queries.
- Warehouse and logistics robots navigating aisles and around people (the work was partly supported by the Hong Kong Centre for Logistics Robotics).
- Ground vehicles driving through narrow corridors shared with pedestrians.
- Search-and-rescue or inspection robots operating in unknown environments where the map size cannot be specified in advance.
Industry relevance. The system targets commodity embedded GPUs (Nvidia Xavier NX) rather than workstation hardware, is sensor-agnostic across depth cameras and 2D/3D LiDAR, and is released as open source — all of which lower the barrier to adoption in commercial mobile robot stacks.
Future Directions
- Closing the CPU-GPU loop: the paper notes that a GPU-based motion planner could read the global EDT directly, but the experiments copy the local EDT to the CPU and broadcast it over ROS with the CPU-GPU stream turned off. Measuring the benefit of an end-to-end GPU planner pipeline is a natural next step.
- Scaling to larger and outdoor environments: evaluation covers three datasets (UAV-Pillar, UGV-Corridor, Cow-and-Lady) and local volumes of at most 20 m × 20 m × 6 m; behavior of the hash table and wavefront under city-scale or long-duration maps is not reported.
- Reasoning about dynamic obstacles over time: the current method corrects distance values when obstacles appear or disappear, but does not model object persistence or motion; tracking could reduce the correction work pedestrians induce.
- Distributed or multi-robot mapping: since the global EDT already lives in a hash table streamed between GPU and CPU, sharing and merging maps across several robots is an open design question the paper does not address.
Target Audience
Robotics researchers and engineers working on mapping, state estimation, or motion planning for resource-constrained mobile robots; GPU/CUDA programmers interested in parallel geometric algorithms; and practitioners building onboard navigation stacks for drones, warehouse robots, or autonomous ground vehicles who need fast, accurate distance queries. Readers without a background in voxel mapping or parallel computing will find the high-level motivation clear but the algorithmic sections demanding.
Authors’ abstract
In this letter, we present a volumetric mapping system that effectively calculates Occupancy Grid Maps (OGMs) and Euclidean Distance Transforms (EDTs) with parallel computing. Unlike these mappers for high-precision structural reconstruction, our system incrementally constructs global EDT and outputs high-frequency local distance information for online robot motion planning. The proposed system constructs OGM with massive amount of data from multiple types of sensor inputs.…
The full abstract on arXivRelated papers
- cuArms: GPU-Accelerated Conflict-Based Planning for Multi-Arm Manipulation 2026-10-26 · cs.RO · Key terms of the title in common
- GGraph: A GPU-Accelerated Library for Graph-Based Robot Deployment and Learning 2026-10-20 · cs.RO · Key terms of the title in common
- FAME-QP: A GPU-Accelerated Quadratic-Programming Solver for Real-Time Model Predictive Control 2026-11-10 · cs.RO · Key terms of the title in common
- CQDC-Warp: GPU-Accelerated Differentiable Quasi-Dynamic Simulation for Contact-Rich Manipulation 2026-10-15 · cs.RO · Key terms of the title in common
- LLA-MPPI: Rapidly Adaptive Whole-body Control of Legged Robots with GPU-Accelerated Parallel Simulations 2026-10-07 · cs.RO · Key terms of the title in common