光滑可微且高效可向量化的接触流形生成
Smoothly Differentiable and Efficiently Vectorizable Contact Manifold Generation
AI总结:
本文提出了一种高效且可微的接触流形生成框架,通过平衡凸原形方法与障碍方法,实现高效且光滑的接触模拟。
摘要:
在机器人领域中,以快速、大规模向量化和光滑可微的方式模拟刚体动力学与接触具有高度的吸引力。现有可微模拟框架面临的重要瓶颈是接触流形生成:通过离散的适当分布接触点来表示两个碰撞几何体的体积交集。这一瓶颈的主要原因是常用机器人模拟器的相关程序并未以向量化和可微性为主要考虑因素,因此依赖于逻辑和控制流,从而阻碍了这些目标。我们提出了一种从头开始设计的框架,通过在以下两个方面之间寻找平衡:i)常用机器人模拟器使用的基于凸原形的方法(高效但不可微),和 ii)障碍方法使用的 mollified 顶点-面和边-边无符号距离方法(可微但低效)。具体而言,我们提出:i)一组代表性的平滑解析有符号距离原形,用于实现顶点-面碰撞,和 ii)一种新的可微边-边碰撞程序,可以提供有符号距离和有符号接触法线。所提出的框架通过一系列教学实验进行评估,并与已建立的 Mujoco XLA 框架的碰撞检测程序进行基准测试,我们观察到显著的加速效果。补充视频可在 https://github.com/bekeronur/contax 找到,其中在评审过程结束时将提供 JAX 的参考实现。
英文摘要:
Simulating rigid-body dynamics with contact in a fast, massively vectorizable, and smoothly differentiable manner is highly desirable in robotics. An important bottleneck faced by existing differentiable simulation frameworks is contact manifold generation: representing the volume of intersection between two colliding geometries via a discrete set of properly distributed contact points. A major factor contributing to this bottleneck is that the related routines of commonly used robotics simulators were not designed with vectorization and differentiability as a primary concern, and thus rely on logic and control flow that hinder these goals. We instead propose a framework designed from the ground up with these goals in mind, by trying to strike a middle ground between: i) convex primitive based approaches used by common robotics simulators (efficient but not differentiable), and ii) mollified vertex-face and edge-edge unsigned distance-based approaches used by barrier methods (differentiable but inefficient). Concretely, we propose: i) a representative set of smooth analytical signed distance primitives to implement vertex-face collisions, and ii) a novel differentiable edge-edge collision routine that can provide signed distances and signed contact normals. The proposed framework is evaluated via a set of didactic experiments and benchmarked against the collision detection routine of the well-established Mujoco XLA framework, where we observe a significant speedup. Supplementary videos can be found at https://github.com/bekeronur/contax, where a reference implementation in JAX will also be made available at the conclusion of the review process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。