Automatic Inertia for Robot Links: From Density and Collision Shapes

Learn how a simulator can compute mass and inertia for a robot link from material density and collision shapes, with primitive formulas, mesh methods and a worked example.

In this article

  • Mass tells you how hard to push, inertia tells you how hard to twist
  • Why wrong inertia breaks a simulation
  • The four usual ways to get the numbers, and what is wrong with each
  • The idea: describe material, not matrix
  • Primitive shapes: formulas you can write on one line
  • Meshes: add up lots of tiny pieces
  • Where to put the code: keep the parser light
  • A worked example (illustrative numbers)
  • Trade-offs and limits
  • Checklist