RRA Mass Adjustments...Inertia?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Nicos Haralabidis
Posts: 187
Joined: Tue Aug 16, 2016 1:46 am

RRA Mass Adjustments...Inertia?

Post by Nicos Haralabidis » Tue Sep 04, 2018 5:00 am

Hi all,

I seem to be posting quite often recently, so apologies for spamming the forum!

After receiving the recommendations from RRA (adjust torso COM and segment masses) I have updated my .osim Model file. I then started to think about the Inertial properties, as surely they should change to coincide with the changes made to the mass and/or COM location of a segment? Perhaps I am over thinking it... Any help/suggestions is greatly appreciated.

Kind regards,

Nicos Haralabidis

Tags:

User avatar
Thomas Uchida
Posts: 1777
Joined: Wed May 16, 2012 11:40 am

Re: RRA Mass Adjustments...Inertia?

Post by Thomas Uchida » Wed Sep 05, 2018 9:53 am

I then started to think about the Inertial properties, as surely they should change to coincide with the changes made to the mass and/or COM location of a segment?
The inertia tensor is updated for all bodies (excluding Ground). Here are the comments in Body::scaleInertialProperties():

Code: Select all

...
// Scale the mass.
...
// Scale the inertia tensor.
// If the mass is zero, then make the inertia tensor zero as well.
// If the X, Y, Z scale factors are equal, then you can scale the
// inertia tensor exactly by the square of the scale factor (and
// possibly by massScaleFactor), since each element in the tensor
// is proportional to the square of one or more dimensional
// measurements. For determining if the scale factors are equal,
// ignore reflections-- look only at the absolute value of the factors.
...
// If the scale factors are not equal, then assume that the segment
// is a cylinder and the inertia is calculated about one end of it.
...

User avatar
Nicos Haralabidis
Posts: 187
Joined: Tue Aug 16, 2016 1:46 am

Re: RRA Mass Adjustments...Inertia?

Post by Nicos Haralabidis » Thu Sep 06, 2018 9:47 am

Hello Tom,

Thanks for your reply and sharing the snippet of code! Am I correct in thinking that this only applies during the scaling stage of a model? and not when making the recommendations following RRA?

I have checked the Rajagopal data repository and it appears that whilst the mass of the segments and Torso COM location changes following RRA, the inertia tensor remains strangely identical between models - to 15/16 decimal places.

Kind regards,

Nicos Haralabidis

User avatar
Josh Baxter
Posts: 29
Joined: Fri Mar 11, 2016 12:29 pm

Re: RRA Mass Adjustments...Inertia?

Post by Josh Baxter » Thu Sep 06, 2018 11:53 am

My understanding is that RRA isn't trying to make the segment inertia correct but rather make them dynamically consistent, which can be achieved by changing the mass of each segment.

POST REPLY