Back to Search Start Over

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

Authors :
Jeongseok Lee
C. Karen Liu
Ioannis Exarchos
Keenon Werling
Dalton Omens
Source :
Robotics: Science and Systems
Publication Year :
2021
Publisher :
Robotics: Science and Systems Foundation, 2021.

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 this combination in 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.

Details

Database :
OpenAIRE
Journal :
Robotics: Science and Systems XVII
Accession number :
edsair.doi...........d7bf3da9f345392100de5ad62710cda6
Full Text :
https://doi.org/10.15607/rss.2021.xvii.034