Elevation Mapping for Locomotion and Navigation using GPU

Takahiro Miki, Lorenz Wellhausen, Ruben Grandia, Fabian Jenelten, Timon Homberger, Marco Hutter

TL;DR

This paper introduces a GPU-accelerated 2.5D elevation mapping pipeline designed for real-time robotic locomotion and navigation over rough terrain. By offloading point cloud processing and terrain analysis to the GPU, the framework handles high-density sensor data efficiently while mitigating common mapping artifacts like state estimation drift and overhanging obstacles. The software was field-tested and proven during the DARPA Subterranean Challenge on quadrupedal robots.

What Problem Does This Paper Address?

Ground robots navigating rough or unpredictable environments rely heavily on 2.5D elevation maps to plan footholds and trajectories. However, traditional CPU-based mapping frameworks struggle to process high-density point clouds from modern LiDARs and depth cameras in real time, creating a computational bottleneck for agile robots.

Furthermore, real-world deployments suffer from three classic mapping challenges:

  1. State estimation drift: Small errors in odometry accumulate, causing misalignments and artificial "steps" in the map.
  2. Dynamic obstacles: Moving objects leave ghost artifacts behind if the map doesn't clear them quickly.
  3. Overhanging structures: Standard 2.5D maps struggle with ceilings or low-hanging branches, often rendering them as impassable vertical walls extending from the ground.

This paper addresses these limitations by introducing a highly efficient, GPU-driven architecture equipped with algorithmic fixes for drift, visibility, and geometric occlusions.

Methods

The core architecture shifts the entire mapping pipeline—from raw point cloud ingestion to final post-processing—directly onto the GPU using Cupy and custom CUDA kernels.

Overview of the GPU-accelerated elevation mapping pipeline.

Key algorithmic features include:

  • Parallel Kalman Filter Updates: Cell heights and variances are updated in parallel across thousands of points simultaneously.
  • Height Drift Compensation: To combat vertical odometry drift, the system calculates the error between new sensor measurements and existing flat terrain regions, dynamically shifting the map to maintain consistency.
  • Visibility Cleanup via Ray-Casting: Efficient GPU ray-casting clears out dynamic obstacles. To avoid map jittering, the cleanup law incorporates a check on the surface normal and the time since the last update.
  • Exclusion Areas: A geometric ramp filter ignores points corresponding to ceilings or overhanging obstacles near the robot, ensuring small openings remain navigable.
  • On-GPU Post-Processing: Features like CNN-based traversability estimation (via PyTorch sharing GPU memory), normal calculation, inpainting, and plane segmentation are computed directly on-chip, eliminating CPU-GPU data transfer overhead.

Datasets

The framework was evaluated using real-world data collected from an ANYmal quadruped robot. The sensor configurations tested included:

  • Two Robosense Bpearl LiDARs (providing sparse, wide-angle coverage).
  • Four Intel RealSense depth cameras (providing dense point clouds).

The system was validated in complex, real-world environments, notably during the final event of the DARPA Subterranean Challenge, where it ran online to guide robots through rugged cave and urban networks.

Key Insights and Ideas

  • Zero-Copy Deep Learning: Because the elevation map resides entirely in GPU memory, deep learning models (like the CNN traversability filter) can process the terrain data instantly without the costly overhead of CPU-GPU serialization.
  • Smart Drift Correction: Instead of blindly averaging out sensor drift—which blurs edges—the system isolates high-traversability (flat) regions to compute a clean vertical correction factor.
  • Ray-Casting as a Double Agent: Ray-casting isn't just used to erase dynamic obstacles; it simultaneously establishes an "upper bound" layer. This layer helps navigation planners distinguish between safe occluded zones and dangerous, steep drops.

Key Results

The GPU implementation demonstrated significant performance advantages over traditional CPU baselines:

  • Sub-millisecond Core Updates: On an NVIDIA Jetson Xavier (an embedded mobile processor), the pipeline processed 43,017 LiDAR points in just 6.85 ms total.
  • Flat Computational Scaling: Unlike CPU baselines whose processing times spike exponentially with point cloud density, the GPU pipeline's execution time remains remarkably flat as the number of points increases.
  • High Refresh Rates: The system achieved map update frequencies of ~49.4 Hz for filtered depth data and ~16.1 Hz for massive raw point clouds (over 400,000 points) on embedded hardware.
Qualitative comparison demonstrating the effects of drift compensation, visibility cleanup, and exclusion areas.

As shown in the qualitative evaluations, disabling these features results in severe mapping failures, such as ghost walls from overhanging obstacles or massive gaps due to odometry drift.

Limitations and Future Work

The authors note that the learning-based traversability filter is the most computationally expensive component, consuming over 60% of the total processing time (~4.1 ms out of the 6.85 ms total). Optimizing this neural network module or exploring more efficient network architectures represents a clear path for future performance gains.

Summary updated

BibTeX
@inproceedings{miki2022elevation,
  author = {Takahiro Miki and Lorenz Wellhausen and Ruben Grandia and Fabian Jenelten and Timon Homberger and Marco Hutter},
  title = {{Elevation Mapping for Locomotion and Navigation using GPU}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  doi = {10.1109/iros47612.2022.9981507},
}
Figure