Hello,
I was just wondering how the new inertial properties are calculated during scaling. There's only a description for the scaling of the new mass in "Step 3 - Scaling Mass and Inertial Properties" in the "How Scaling Works" section (https://simtk-confluence.stanford.edu/d ... ling+Works) but I can't find anything for the inertial properties, neither in the documentation nor in the source code.
Does anyone have a clue which formulas are used for the scaled inertial properties or where I can find further information on this subject?
Thanks and kind regards,
Michael
Scaling Inertial Properties
- Michael Heil
- Posts: 3
- Joined: Thu Jan 09, 2020 8:22 am
- Thomas Uchida
- Posts: 1789
- Joined: Wed May 16, 2012 11:40 am
Re: Scaling Inertial Properties
You should be able to follow the code (it's commented). Please see the Model::scale() method (https://github.com/opensim-org/opensim- ... .cpp#L1489) and Body::scaleInertialProperties() method (https://github.com/opensim-org/opensim- ... y.cpp#L206).
- Michael Heil
- Posts: 3
- Joined: Thu Jan 09, 2020 8:22 am
Re: Scaling Inertial Properties
Hello Thomas,
that's exactly what I've been looking for.
Thank you very much!
Michael
that's exactly what I've been looking for.
Thank you very much!
Michael