Table of Contents
Fetching ...

Polyhedral Collision Detection via Vertex Enumeration

Andrew Cinar, Yue Zhao, Forrest Laine

TL;DR

This work tackles collision detection between polyhedral objects by addressing the nondifferentiability of the signed distance $sd(x_t)$. It introduces a vertex-enumeration framework that replaces the nonsmooth constraint with multiple smooth vertex-based constraints and uses dynamic slots to incorporate up to $N$ vertex values, enabling nonlocal and subdifferential information to guide optimization. Empirical results on 2D and 3D problems show substantially higher reliability than common baselines, particularly in complex packing scenarios, albeit with longer solve times. The approach is generalizable to other nonsmooth optimization problems and offers a practical pathway toward robust collision-avoiding trajectories for robotics.

Abstract

Collision detection is a critical functionality for robotics. The degree to which objects collide cannot be represented as a continuously differentiable function for any shapes other than spheres. This paper proposes a framework for handling collision detection between polyhedral shapes. We frame the signed distance between two polyhedral bodies as the optimal value of a convex optimization, and consider constraining the signed distance in a bilevel optimization problem. To avoid relying on specialized bilevel solvers, our method exploits the fact that the signed distance is the minimal point of a convex region related to the two bodies. Our method enumerates the values obtained at all extreme points of this region and lists them as constraints in the higher-level problem. We compare our formulation to existing methods in terms of reliability and speed when solved using the same mixed complementarity problem solver. We demonstrate that our approach more reliably solves difficult collision detection problems with multiple obstacles than other methods, and is faster than existing methods in some cases.

Polyhedral Collision Detection via Vertex Enumeration

TL;DR

This work tackles collision detection between polyhedral objects by addressing the nondifferentiability of the signed distance . It introduces a vertex-enumeration framework that replaces the nonsmooth constraint with multiple smooth vertex-based constraints and uses dynamic slots to incorporate up to vertex values, enabling nonlocal and subdifferential information to guide optimization. Empirical results on 2D and 3D problems show substantially higher reliability than common baselines, particularly in complex packing scenarios, albeit with longer solve times. The approach is generalizable to other nonsmooth optimization problems and offers a practical pathway toward robust collision-avoiding trajectories for robotics.

Abstract

Collision detection is a critical functionality for robotics. The degree to which objects collide cannot be represented as a continuously differentiable function for any shapes other than spheres. This paper proposes a framework for handling collision detection between polyhedral shapes. We frame the signed distance between two polyhedral bodies as the optimal value of a convex optimization, and consider constraining the signed distance in a bilevel optimization problem. To avoid relying on specialized bilevel solvers, our method exploits the fact that the signed distance is the minimal point of a convex region related to the two bodies. Our method enumerates the values obtained at all extreme points of this region and lists them as constraints in the higher-level problem. We compare our formulation to existing methods in terms of reliability and speed when solved using the same mixed complementarity problem solver. We demonstrate that our approach more reliably solves difficult collision detection problems with multiple obstacles than other methods, and is faster than existing methods in some cases.
Paper Structure (12 sections, 9 equations, 3 figures, 4 tables)

This paper contains 12 sections, 9 equations, 3 figures, 4 tables.

Figures (3)

  • Figure 1: On the top subfigure, the edges of the blue rectangle and the red triangle are numbered from $1$ to $7$. The solid faded lines show $\alpha=\alpha^*$ corresponding to optimal assignments $(\textcolor{rgb(0,0,255)}{2,3},\textcolor{rgb(255,0,0)}{7})$, $(\textcolor{rgb(0,0,255)}{2},\textcolor{rgb(255,0,0)}{5,7})$. The dashed lines show $\alpha=\alpha_1$ corresponding to assignments $(\textcolor{rgb(0,0,255)}{2,3},\textcolor{rgb(255,0,0)}{7})$, $(\textcolor{rgb(0,0,255)}{1},\textcolor{rgb(255,0,0)}{5,7})$, $(\textcolor{rgb(0,0,255)}{3},\textcolor{rgb(255,0,0)}{6, 7})$. On the bottom subfigure, the vertical axis represents $\alpha$. The polyhedral regions defined by the constraints of the rectangle and the triangle in this representation take the form of an upside down quadrilateral pyramid and triangular pyramid, respectively, and are unbounded in the positive direction. The light green region is their intersection, i.e., the feasible region of \ref{['eq:sd_lp']}.
  • Figure 2: Blue rectangle is the ego, while red rectangle is the obstacle, and ego wants to get close obstacle. Faded rectangles are the scaled ego and obstacle with $\alpha=\mathrm{sd}(x_t)$.
  • Figure 3: Nonsmooth signed distance enumeration formulation examples on problems (left to right): (1) Simple packing, (2) simple gap, (3) piano, (4) random packing, (5) L through gap, (6) random L packing. The intermediate time steps shown in dashed lines, the final position shown in bold.

Theorems & Definitions (1)

  • Definition 1: Signed Distance