Nearest-neighbor search is a core building block in many robotics algorithms, but robot state spaces are often not Euclidean. Orientations live on SO(2) or SO(3), and poses on SE(2) or SE(3). A Euclidean KD-tree applied directly to their raw coordinates can give incorrect results.
The arXiv paper introduces nanoflann, a header-only KD-tree library designed for exact nearest-neighbor search on compile-time product manifolds. By treating the state space as a product of known manifolds at compile time, the library can account for the manifold structure during search.
The library is presented as a solution for robotics applications where the underlying space is a product of such manifolds. The paper's abstract does not include benchmark results or implementation details, so practical performance claims are not covered in this digest.