Skip to content

Commit

Permalink
Update Migration.md
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 and scpeters authored Jan 16, 2025
1 parent 8918a83 commit 8ee7758
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ but with improved human-readability..

## libsdformat 15.1.1 to 15.2.0

1. Auto-inertia computation now takes into account the mass if specified.
Previously when auto-inertia is set to true, mass is ignored and the inertia
matrix is computed based on the collision densities. The new behavior is that
if mass is specified, the inertial values will be computed to preserve the
specified mass. The is done by first resolving the inertia from all
collisions using density as usual, it is then normalized to get unit inertia,
and finally the unit inertia is scaled so that the resulting mass matches the
specified mass.
1. Inertial parameters can now be automatically calculated with a specified
mass. Previously when the `//inertial/@auto` attribute is set to true, the
`//inertial/mass` value is ignored and the mass, center of mass location, and
inertia matrix are computed based on the collision geometries and densities.
The new behavior is that if `//inertial/mass` is specified, the inertial values
will be computed to preserve the specified mass. This is done by first
calculating inertial parameters from all collisions using density as usual,
calculating the ratio between user-specified mass and the auto-computed mass,
and rescaling the computed mass and moment of inertia by that mass ratio so
that the resulting mass matches the specified mass.

## libsdformat 14.x to 15.x

Expand Down

0 comments on commit 8ee7758

Please sign in to comment.