Skip to content

Commit e0c808e

Browse files
committed
add entry to migration guide about the updated auto-inertia behavior
Signed-off-by: Ian Chen <[email protected]>
1 parent c68fd3d commit e0c808e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Migration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ 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. Auto-inertia computation now takes into account the mass if specified.
19+
Previously when auto-inertia is set to true, mass is ignored and the inertia
20+
matrix is computed based on the collision densities. The new behavior is that
21+
if mass is specified, the inertial values will be computed to preserve the
22+
specified mass. The is done by first resolving the inertia from all
23+
collisions using density as usual, it is then normalized to get unit inertia,
24+
and finally the unit inertia is scaled so that the resulting mass matches the
25+
specified mass.
26+
1527
## libsdformat 14.x to 15.x
1628

1729
### Additions

0 commit comments

Comments
 (0)