TECHNOLOGY

SDF inertia import: keep the tensor’s center and axes with its numbers

In this article
THE QUICK TAKE

SDF inertia entries are central moments expressed in the inertial axes; changing axes and changing the torque reference point require different transformations.

A plausible tensor can belong to the wrong frame

A twin importer reads a diagonal inertia tensor from a CAD-derived SDF model and stores it as if its axes were the link axes. The inertial pose has a nontrivial rotation, so the copied numbers describe a different rigid body orientation. The file still contains positive masses and familiar-looking moments. Diagnose the tensor’s center and expression axes before changing solver damping. Shape-valid numeric data can carry the wrong physical meaning without producing a parser error.

Read center and orientation together

The SDF inertial schema defines an inertial pose locating and orienting the center-of-mass frame relative to the link frame. Its inertia entries are central moments expressed in that center-of-mass frame’s axes. They are not automatically moments about the link origin. Keep mass, center position, frame orientation and tensor as a linked record. Dropping the pose rotation while preserving the diagonal entries changes the represented mass distribution unless symmetry happens to hide the error.

Separate rotation from a change of point

The gz-math Inertial implementation exposes a mass matrix and a separate inertial pose. Its Moi operation rotates the tensor into the object’s axes while still describing inertia about the body’s center of mass. Moving the reference point to the link origin is a different operation requiring the appropriate parallel-axis treatment. An API returning link-oriented components does not necessarily return origin-referenced moments. Preserve both qualifications in an adapter rather than abbreviating them to link inertia.

Propose an asymmetric tensor fixture

A proposed import fixture should use unequal principal moments, an oblique inertial rotation and an offset center of mass. Compare the imported central tensor in a declared common basis, then separately evaluate any required origin-referenced representation. An isotropic tensor can conceal rotation mistakes, and a center at the link origin can conceal missing point shifts. Preserve product-of-inertia sign conventions from the source schema. No import experiment or physical inertia measurement was performed for this article.

Accept a representation with explicit provenance

Retain source mass properties, units, inertial pose, original tensor convention, transformed representation and model revision. Check supported validity conditions, but do not interpret a successful numeric validity check as proof of agreement with a real body. If automatic inertia inference is enabled, identify whether authored entries or generated properties actually reach the consuming engine. A comparison cannot be explained from the original XML tensor alone when another stage replaces its mass-property definition.

Keep coordinate correctness separate from dynamics validation

The MD17 coordinate guide explains another obligation to transform physical targets consistently; software reproducibility supports preserving conversion logic. Here acceptance establishes the tensor’s declared center and axes through import. It does not calibrate mass distribution, validate a controller or guarantee accurate motion. Those questions require independent physical data and numerical validation after the inertial representation itself has been made unambiguous.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles