Fast and Feature-Complete Differentiable Physics Engine for Articulated Rigid Bodies with Contact Constraints

Быстрый дифференцируемый физический движок с полным набором функций для шарнирно-соединённых абсолютно твёрдых тел с контактными ограничениями
Keenon Werling, Dalton Omens, Sanghoon Lee, Ioannis Exarchos, Karen Liu
2021-06-27

analytical gradientsarticulated rigid body simulationdifferentiable physics enginehard contact constraintslinear complementarity problems
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 this combination in a fork of an existing physics engine (DART) is capable of a 87x single-core speedup over finite-differencing in computing analytical Jacobians for a single timestep, while preserving all the expressiveness of original DART.
1
A DART-based implementation achieves an 87× single-core speedup over finite differences for single-timestep analytical Jacobian computation while preserving DART’s expressiveness.
2
Complementarity-aware gradients are introduced to help downstream optimization avoid stalling at saddle points.
3
Nimble is a fast, feature-complete differentiable physics engine supporting Lagrangian dynamics and hard contact constraints for articulated rigid bodies.
4
Nimble supports complex contact geometry and provides gradients that approximate continuous-time elastic collision behavior.
5
The engine solves inelastic contact constraints precisely through linear complementarity problems and derives efficient analytical gradients exploiting sparsity in the LCP solution.

articulated rigid bodies with hard contact constraints

differentiable Lagrangian dynamics and contact-constrained simulation, including analytical gradients through inelastic contact and complementarity-aware optimization behavior

Publication Details
Publication Date
2021-06-27
Journal
Publisher
ISSN
Cited by
63
Access Type
Author Information
Authors
Keenon Werling
Dalton Omens
Sanghoon Lee
Ioannis Exarchos
Karen Liu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%