Analytic Conditions for Differentiable Collision Detection in Trajectory Optimization
Akshay Jaitly, Devesh K. Jha, Kei Ota, Yuki Shirai
TL;DR
The paper addresses the computational burden of enforcing non-penetration in trajectory optimization by introducing differentiable Minimum-Offset-To-Touch (MOTT) conditions that embed a signed-distance-like metric directly into a single-level optimization. It derives smooth, analytic constraints for touching between convex, smooth bodies and extends to non-smooth polytopes through smooth semi-algebraic approximations based on superquadratics. The approach reduces reliance on non-differentiable complementarity and demonstrates improved efficiency in various planning scenarios, especially as problem size grows, while providing controllable approximation accuracy via the parameter $\rho$. The work enables robust collision-free planning in cluttered and contact-rich environments and offers a path toward handling higher-dimensional polytopes and more complex contact dynamics in future work.
Abstract
Optimization-based methods are widely used for computing fast, diverse solutions for complex tasks such as collision-free movement or planning in the presence of contacts. However, most of these methods require enforcing non-penetration constraints between objects, resulting in a non-trivial and computationally expensive problem. This makes the use of optimization-based methods for planning and control challenging. In this paper, we present a method to efficiently enforce non-penetration of sets while performing optimization over their configuration, which is directly applicable to problems like collision-aware trajectory optimization. We introduce novel differentiable conditions with analytic expressions to achieve this. To enforce non-collision between non-smooth bodies using these conditions, we introduce a method to approximate polytopes as smooth semi-algebraic sets. We present several numerical experiments to demonstrate the performance of the proposed method and compare the performance with other baseline methods recently proposed in the literature.
