@@ -23,9 +23,17 @@ but with improved human-readability..
2323### Modifications
2424
25251 . World class only renames frames with name collisions if original file version
26- is 1.6 or earlier. Name collisions in newer files will cause DUPLICATE_NAME
26+ is 1.6 or earlier. Name collisions in newer files will cause ` DUPLICATE_NAME `
2727 errors, which now matches the behavior of the Model class.
2828
29+ 1 . Python is now required to build libsdformat instead of Ruby.
30+
31+ 1 . ** sdf/ParserConfig.hh** The following new functions were added to support automatic calculation of moments of inertia.
32+ + ConfigureResolveAutoInertials CalculateInertialConfiguration() const
33+ + void SetCalculateInertialConfiguration(ConfigureResolveAutoInertials)
34+ + void RegisterCustomInertiaCalc(CustomInertiaCalculator)
35+ + const CustomInertiaCalculator &CustomInertiaCalc() const
36+
2937## libsdformat 12.x to 13.x
3038
3139### Additions
@@ -38,7 +46,7 @@ but with improved human-readability..
3846
39471 . ParserConfig defaults to WARN instead of LOG when parsing unrecognized
4048 elements.
41- 2 . Updated search order for ` sdf::findFile() ` making local path (current directory) the first to be searched.
49+ 2 . Updated search order for ` sdf::findFile() ` making local path (current directory) the first to be searched.
4250
4351### Deprecations
4452
@@ -584,7 +592,20 @@ ABI was broken for `sdf::Element`, and restored on version 11.2.1.
584592 + ` //mimic/offset ` : parameter representing offset to follower position.
585593 + ` //mimic/reference ` : parameter representing reference for leader position before applying the multiplier.
586594
587- 1 . ** joint.sdf** :
595+ 1 . ** inertial.sdf** : A new attribute ` //inertial/@auto ` has been added
596+ to specify whether the moment of inertia of a link should be calculated
597+ automatically. In addition, the following elements have been added:
598+ + ` //inertial/density ` : Common mass density of all collision geometries.
599+ + ` //inertial/auto_inertia_params ` : Container for custom parameters passed
600+ to the moment of inertia calculator.
601+
602+ 1 . ** collision.sdf** : A new element ` //collision/density ` has been added
603+ to specify the density of a material for automatic calculation of the moment
604+ of inertia of the parent link. This parameter overrides the value in
605+ ` //inertial/density ` of the parent link if specified. In addition,
606+ ` //collision/auto_inertia_params ` can be used to override
607+ ` //inertial/auto_inertia_params ` of the parent link.
608+
588609## SDFormat specification 1.9 to 1.10
589610
590611### Additions
0 commit comments