Path Planning with Divergence-Based Distance Functions


Distance functions between points in a domain are sometimes used to automatically plan a gradient-descent path towards a given target point in the domain, avoiding obstacles that may be present. A key requirement from such distance functions is the absence of spurious local minima, which may foil such an approach, and this has led to the common use of harmonic potential functions. Based on the planar Laplace operator, the potential function guarantees the absence of spurious minima, but is well known to be slow to numerically compute and prone to numerical precision issues. To alleviate the first of these problems, we propose a family of novel divergence distances. These are based on fdivergence of the Poisson kernel of the domain. We define the divergence distances and compare them to the harmonic potential function and other related distance functions. Our first result is theoretical: We show that the family of divergence distances are equivalent to the harmonic potential function on simply-connected domains, namely generate paths which are identical to those generated by the potential function. For the special case where the domain is a disk, divergence distances are also equivalent to the (Poincaré) hyperbolic metric and generate circular hyperbolic geodesics. The proof is based on the concept of conformal invariance. Our other results are more practical and relate to two special cases of divergence distances, one based on the Kullback-Leibler divergence and one based on the total variation divergence. To compute all the distance functions, the domain is discretized to a triangle mesh to facilitate a Finite Elements (FEM) computation. We show that using divergence distances instead of the potential function and other distances has a significant computational advantage, as, following a pre-processing stage, they may be computed up to an order of magnitude faster than the others when taking advantage of certain sparsity properties of the Poisson kernel. Furthermore, the computation is “embarrassingly parallel”, so may be implemented on a GPU with up to three orders of magnitude speedup. A disadvantage of using divergence distances is that computing them using very low resolution meshes may introduce spurious local minima into the distances. However, we demonstrate experimentally that this phenomenon quickly disappears at reasonable resolutions.

9 Figures and Tables

Cite this paper

@article{Chen2017PathPW, title={Path Planning with Divergence-Based Distance Functions}, author={Renjie Chen and Craig Gotsman and Kai Hormann}, journal={CoRR}, year={2017}, volume={abs/1708.02845} }