SphereMap: Dynamic Multi-Layer Graph Structure for Rapid Safety-Aware UAV Planning

Tomás Musil, Matej Petrlík, Martin Saska

This paper, presented at IEEE Robotics and Automation Letters (RA-L) and validated in the high-stakes DARPA SubT Challenge, introduces SphereMap: a dynamic, multi-layer graph structure designed to help Unmanned Aerial Vehicles (UAVs) navigate complex, unknown environments with unprecedented speed and safety.

TL;DR

SphereMap is a novel mapping and planning framework that represents free space as a collection of intersecting spheres, allowing UAVs to plan safe, long-distance paths in milliseconds. By caching paths within "roughly convex" regions and generating a lightweight "LTVMap" for multi-robot sharing, it outperforms traditional grid-based planners by several orders of magnitude.

What Problem Does This Paper Address?

Autonomous UAVs are increasingly used for Search and Rescue (SAR) and industrial inspection in "GPS-denied" environments like caves, tunnels, and collapsed buildings. Navigating these areas presents a major trade-off:

  1. Safety vs. Efficiency: Planners must decide whether to take a short, risky path through a narrow opening or a long, safe path through a wide hall.
  2. Computational Bottlenecks: Standard volumetric maps (like OctoMaps) are great for local obstacle avoidance but are too "heavy" for rapid global planning over hundreds of meters.
  3. Communication Constraints: In subterranean settings, robots cannot easily share massive 3D maps with each other or a human operator.

Existing topological maps often require an initial "run-through" to build or fail to incorporate the "clearance" (distance from walls) necessary for safety-aware flight.

Methods

The authors propose a two-layer architecture built incrementally on-board the UAV:

  • The Sphere Graph (Dense Layer): As the UAV moves, it samples the free space and places "nodes" (spheres). The radius of each sphere is set to the distance to the nearest obstacle. Two spheres are connected if they overlap enough for the UAV to pass through. This inherently encodes safety: a larger sphere means more room to maneuver.
  • The Topological Graph (Sparse Layer): The spheres are grouped into "roughly convex" segments. The boundaries between these segments are called "portals."
  • Intra-Segment Caching: This is the "secret sauce." The system pre-calculates and stores the optimal paths between portals within each segment. When a global path is needed, the planner only has to find a path across the sparse topological graph, "stitching" together the pre-calculated local paths.
  • LTVMap (Lightweight Topological-Volumetric Map): For multi-robot coordination, the system generates a simplified version of the map using 4DOF bounding boxes to represent the volume of each segment. This is small enough to be transmitted over low-bandwidth radio links.

Datasets

The system was evaluated using:

  • Simulated Environments: Large-scale cavernous and tunnel environments (up to 300m) designed to mimic the DARPA SubT Challenge.
  • Real-World Deployment: Several kilometers of flight in caves, devastated industrial buildings, and a large outdoor residential area.
  • Competition Data: Performance data from the DARPA SubT Challenge, where the team's approach helped them secure 2nd place in the virtual track.

Key Insights and Ideas

  • Safety as a Cost Function: Unlike planners that treat obstacles as binary (hit/no-hit), SphereMap uses the sphere radii to penalize paths that get too close to walls, naturally favoring "wide" paths unless a "narrow" path is significantly shorter.
  • The Power of Convexity: By dividing the world into roughly convex regions, the authors ensure that paths within a segment are generally simple and easy to compute, making the "portal-to-portal" caching highly effective.
  • Constant-Time Updates: The map is updated only in a local "cube" around the UAV, ensuring that the computational load doesn't explode as the total explored area grows.

Key Results

  • Massive Speedup: In long-distance planning tests, SphereMap with caching found paths in just 22 milliseconds. For comparison, a standard grid-based A planner took nearly 60 seconds* for the same task—a speedup of roughly 2,700x.
  • Safety Performance: SphereMap consistently found paths that maintained a higher average distance from obstacles compared to RRT or length-only A planners.
  • Communication Efficiency: The LTVMap representation was shown to be significantly smaller (in bytes) than even a low-resolution occupancy grid, while still preserving the "connectivity" of the environment (i.e., it doesn't accidentally "close" narrow passages).

Limitations and Future Work

  • Bounding Box Accuracy: The current LTVMap uses 4DOF bounding boxes, which can sometimes include "non-free" space (like a corner of a wall) within the box. The authors suggest using more complex shapes like 6DOF boxes or polygons in the future to improve accuracy.
  • Coverage Gaps: If the point sampling is too sparse, the SphereMap might occasionally fail to "fill" a reachable area, making it appear impassable to the global planner.
  • Dynamic Environments: While the system can prune nodes when obstacles move, the authors note that handling highly dynamic environments (e.g., many moving people or vehicles) remains a challenge for future refinement.

Summary updated

BibTeX
@article{musil2022spheremap,
  author = {Tomás Musil and Matej Petrlík and Martin Saska},
  title = {{SphereMap: Dynamic Multi-Layer Graph Structure for Rapid Safety-Aware UAV Planning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3195194},
}
Figure