Fast and Feature-Complete Differentiable Physics for Articulated Rigid Bodies with Contact
Keenon Werling, Dalton Omens, Jeongseok Lee, Ioannis Exarchos, C., Karen Liu

TL;DR
This paper introduces Nimble, a fast, feature-rich differentiable physics engine for articulated rigid bodies with contact, enabling efficient gradient computation for robotics and optimization tasks.
Contribution
We develop a differentiable physics engine supporting complex contact and elastic collisions, with novel analytical gradients and a significant speedup over finite-difference methods.
Findings
87x speedup in Jacobian computation over finite differences
Supports complex contact geometry and elastic collisions
Preserves the expressiveness of the original physics engine
Abstract
We present a fast and feature-complete differentiable physics engine, Nimble (nimblephysics.org), that supports Lagrangian dynamics and hard contact constraints for articulated rigid body simulation. Our differentiable physics engine offers a complete set of features that are typically only available in non-differentiable physics simulators commonly used by robotics applications. We solve contact constraints precisely using linear complementarity problems (LCPs). We present efficient and novel analytical gradients through the LCP formulation of inelastic contact that exploit the sparsity of the LCP solution. We support complex contact geometry, and gradients approximating continuous-time elastic collision. We also introduce a novel method to compute complementarity-aware gradients that help downstream optimization tasks avoid stalling in saddle points. We show that an implementation of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRobot Manipulation and Learning · Robotic Mechanisms and Dynamics · Dynamics and Control of Mechanical Systems
