Collision detection between objects is critical for simulation, control, and learning for robotic systems. However, existing collision detection routines are inherently non-differentiable, limiting their applications in gradient-based optimization tools. In this work, we propose DCOL: a fast and fully differentiable collision-detection framework that reasons about collisions between a set of composable and highly expressive convex primitive shapes. This is achieved by formulating the collision detection problem as a convex optimization problem that solves for the minimum uniform scaling applied to each primitive before they intersect. The optimization problem is fully differentiable with respect to the configurations of each primitive and is able to return a collision detection metric and contact points on each object, agnostic of interpenetration. We demonstrate the capabilities of DCOL on a range of robotics problems from trajectory optimization and contact physics, and have made an open-source implementation available.
翻译:对模拟、控制和学习机器人系统而言,天体间碰撞探测对模拟、控制和学习至关重要。然而,现有的碰撞探测常规本质上是不可区分的,限制了其在梯度优化工具中的应用。在这项工作中,我们提议DOL:一个快速和完全可区分的碰撞探测框架,其原因为一组可合成和高显性凝固原始形状之间的碰撞。这是通过将碰撞探测问题作为连接点优化问题加以表述而实现的,它解决了每个原始生物在相互交错之前应用的最低统一缩放。优化问题在每个原始物体的配置方面是完全不同的,并且能够返回每个物体的碰撞探测指标和联络点,即对内联网的敏感度。我们展示了DCOL在轨优化和接触物理学等一系列机器人问题方面的能力,并提供了开放源的实施。