Arrow Research search
Back to IROS

IROS 2012

MuJoCo: A physics engine for model-based control

Conference Paper Accepted Paper Artificial Intelligence ยท Robotics

Abstract

We describe a new physics engine tailored to model-based control. Multi-joint dynamics are represented in generalized coordinates and computed via recursive algorithms. Contact responses are computed via efficient new algorithms we have developed, based on the modern velocity-stepping approach which avoids the difficulties with spring-dampers. Models are specified using either a high-level C++ API or an intuitive XML file format. A built-in compiler transforms the user model into an optimized data structure used for runtime computation. The engine can compute both forward and inverse dynamics. The latter are well-defined even in the presence of contacts and equality constraints. The model can include tendon wrapping as well as actuator activation states (e. g. pneumatic cylinders or muscles). To facilitate optimal control applications and in particular sampling and finite differencing, the dynamics can be evaluated for different states and controls in parallel. Around 400, 000 dynamics evaluations per second are possible on a 12-core machine, for a 3D homanoid with 18 dofs and 6 active contacts. We have already used the engine in a number of control applications. It will soon be made publicly available.

Authors

Keywords

  • Engines
  • Optimization
  • Computational modeling
  • Heuristic algorithms
  • Dynamics
  • Mathematical model
  • Model-based Control
  • Physics Engine
  • Actuator
  • Finite Difference
  • Control Applications
  • Equality Constraints
  • New Physics
  • Recursive Algorithm
  • Inverse Dynamics
  • Presence Of Contact
  • Degrees Of Freedom
  • Time Step
  • Dynamical
  • Equations Of Motion
  • Local Coordinate
  • Convex Optimization Problem
  • Contact Force
  • Numerical Optimization
  • Force Control
  • Trajectory Optimization
  • 3D Rotation
  • Dynamic Contact
  • Native Format
  • Unit Quaternion
  • Constraint Violation
  • Collision Detection
  • Local Frame
  • Sparse Factorization
  • 3D Vector
  • Absence Of Contact

Context

Venue
IEEE/RSJ International Conference on Intelligent Robots and Systems
Archive span
1988-2025
Indexed papers
26578
Paper id
634987893139830112
v2026.09.13