A Tutorial on Complementarity-Based Contact Models for Robotics
Onur Beker, A. Ren\'e Geist, Michael Posa, Marc Toussaint, Justin Carpentier, Georg Martius
Key points
From the paper's conclusion- We examine the existence and uniqueness of motion and contact forces, including the solver's role in selecting among multiple solutions.
Abstract
Simulating rigid-body dynamics with contact is fundamental to robotics, from motion synthesis and control to mechanism design. Many widely used simulators rely on cone complementarity formulations, whose physical assumptions and numerical solution require substantial background. While excellent surveys, monographs, and course notes exist, they mostly address computational mechanics or computer graphics or document a single simulator. To the best of our knowledge, a self-contained pedagogical treatment for robotics, bringing these formulations and their solvers together with complete derivations and a unified notation, does not yet exist. This tutorial addresses this gap by connecting rigid-body dynamics, conic optimization, and frictional contact. In particular, we explain how complementarity conditions encode non-penetration and frictional dissipation, determining separation, sticking, and sliding without prescribed contact modes. We distinguish equivalent transcriptions from convex relaxations, showing how the latter can introduce artifacts such as lift-off and creep. We examine the existence and uniqueness of motion and contact forces, including the solver's role in selecting among multiple solutions. We then compare first-order and Newton-based methods, explain regularization and proximal strategies, and discuss trade-offs between computational cost, robustness, and physical fidelity. Connections to widely used simulators, optimal control, and differentiable simulation help readers interpret simulation results, choose suitable formulations and solvers, and develop their own contact dynamics routines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Lodos-v2: An Efficient Primal Formulation of the Exact Frictional Contact ProblemarXiv · 2026
- Differentiable Contact Dynamics for Legged Locomotion: Policy Learning and Contact-Implicit Trajectory OptimizationarXiv · 2026
- A Splitting Architecture for Exact Reduced Coulomb FrictionComputer Graphics Forum · 2026
- Modeling the Frictional Contact of Continuum Robots with Environments through Linear Complementarity ProblemarXiv · 2026
- Same Physics, Different Gradients: A State-of-the-Art Report on Differentiable Physics SimulationarXiv · 2026
- Lifted Multiple Shooting for Parallel-in-Time Contact-Rich Trajectory OptimizationarXiv · 2026