Skip to content

Commit 2b583cb

Browse files
iche033scpeters
andauthored
Add entry to Migration guide about the updated auto-inertia behavior (gazebosim#1528)
* add entry to migration guide about the updated auto-inertia behavior --------- Signed-off-by: Ian Chen <ichen@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
1 parent fd0292a commit 2b583cb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Migration.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ forward programmatically.
1212
This document aims to contain similar information to those files
1313
but with improved human-readability..
1414

15+
16+
## libsdformat 15.1.1 to 15.2.0
17+
18+
1. Inertial parameters can now be automatically calculated with a specified
19+
mass. Previously when the `//inertial/@auto` attribute is set to true, the
20+
`//inertial/mass` value is ignored and the mass, center of mass location, and
21+
inertia matrix are computed based on the collision geometries and densities.
22+
The new behavior is that if `//inertial/mass` is specified, the inertial values
23+
will be computed to preserve the specified mass. This is done by first
24+
calculating inertial parameters from all collisions using density as usual,
25+
calculating the ratio between user-specified mass and the auto-computed mass,
26+
and rescaling the computed mass and moment of inertia by that mass ratio so
27+
that the resulting mass matches the specified mass.
28+
1529
## libsdformat 14.x to 15.x
1630

1731
### Additions

0 commit comments

Comments
 (0)