# Linear-Time Contact and Friction Dynamics in Maximal Coordinates using Variational Integrators

arXiv: https://arxiv.org/abs/2109.07262 · HTML: https://mlsanity.com/paper/2109.07262/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 15 Sep 2021.

## Built on by (most cited first, 1 of 1)

- [Structure-Preserving Learning Using Gaussian Processes and Variational Integrators](https://mlsanity.com/paper/2112.05451/) (2021)

## Abstract (arXiv)

Simulation of contact and friction dynamics is an important basis for control- and learning-based algorithms. However, the numerical difficulties of contact interactions pose a challenge for robust and efficient simulators. A maximal-coordinate representation of the dynamics enables efficient solving algorithms, but current methods in maximal coordinates require constraint stabilization schemes. Therefore, we propose an interior-point algorithm for the numerically robust treatment of rigid-body dynamics with contact interactions in maximal coordinates. Additionally, we discretize the dynamics with a variational integrator to prevent constraint drift. Our algorithm achieves linear-time complexity both in the number of contact points and the number of bodies, which is shown theoretically and demonstrated with an implementation. Furthermore, we simulate two robotic systems to highlight the applicability of the proposed algorithm.
