Lodos v2 speeds up detailed rigid body collision simulations on GPUs

Lodos-v2: An Efficient Primal Formulation of the Exact Frictional Contact Problem

Robotics

Summary

Simulating many objects bumping into each other in computer graphics or robotics can be slow and sometimes inaccurate. The authors improved an existing simulation system, Lodos, by fixing errors that made objects behave unrealistically and by making it easier to add rules like joint limits. Their new method solves the exact physics problem in a way that runs fast on graphics cards and works well with other constraints. This means simulations with lots of complex shapes can run faster and more accurately than before.

What this means in practice

  • For game engine developers: Simulate complex collisions among many detailed 3D objects more accurately and efficiently within game physics engines.
  • For robotics simulation teams: Integrate precise contact and joint constraints for realistic multi-body robot simulations running efficiently on GPUs.

Authors

Onur Beker, Andreas René Geist, Georg Martius

Abstract

Lodos-v2 is a GPU-based simulation framework for massively parallel rigid-body dynamics with contact. It is specifically designed to achieve high throughput in scenes involving collisions among large numbers of detailed meshes. Its predecessor, Lodos-v1, had two main limitations. First, it solved the standard convex relaxation of cone-complementarity-based contact dynamics, thereby inheriting well-known physical artifacts, including lift-off and artificial compliance in the normal direction, as well as creep in the tangential direction. Second, its contact-group reparameterization scheme, which rescales spring-damper forces using a single factor per collision pair, could not be integrated with other constraints required by a full-fledged simulator, such as joint limits and welds. Lodos-v2 addresses both limitations through two main contributions. First, it introduces an efficient algorithm for solving the exact frictional contact problem by sequentially solving a cascade of convex relaxations in primal form within an outer proximal minimization loop. Second, it extends the contact-group reparameterization scheme of Lodos-v1 to the primal formulation of cone-complementarity-based contact dynamics, enabling its integration with the other constraints of a full-fledged simulator. Experiments demonstrate that these contributions result in throughput improvements over established rigid-body simulation frameworks. The source code is available at https://github.com/martius-lab/lodos.