Fast and Feature-Complete Differentiable Physics Engine for Articulated Rigid Bodies with Contact Constraints
Быстрый дифференцируемый физический движок с полным набором функций для шарнирно-соединённых абсолютно твёрдых тел с контактными ограничениями
2021-06-27
SCID: 54.1/6nzak3az
Discuss with AI
analytical gradientsarticulated rigid body simulationdifferentiable physics enginehard contact constraintslinear complementarity problems
Figures from the paper
Abstract (AI)
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.
Key Findings
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.
Research Object
articulated rigid bodies with hard contact constraints
Research Subject
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
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest