arXiv (Cornell University) · 2021 · 23 citations · 31 references
EngineeringComputer SciencePhysicsComputational MechanicsComputational PhysicsRoboticsContact AnalysisContact DynamicsContact MechanicsMultibody DynamicsRigid Body DynamicsRigid Body KinematicsArticulated Body SimulationComplementarity ProblemsConstraintsContact ConstraintsContact GeometryInelastic CollisionsLinear Complementarity ProblemsSaddle Points
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.
31
Automatic differentiation in PyTorch
Adam Paszke, Sam Gross, Soumith Chintala et al. · 2017 · 11.1K citations
MuJoCo: A physics engine for model-based control
Emanuel Todorov, Tom Erez, Yuval Tassa · 2012 · 4.4K citations
Engineering, Mechanical Engineering, Robotics Engineering +17
Static Analysis of Shape in TensorFlow Programs
arXiv (Cornell University) · 2016 · 1.7K citations · Full text