Angular momentum issue

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
jintao Pan
Posts: 12
Joined: Thu Nov 02, 2023 1:06 am

Angular momentum issue

Post by jintao Pan » Sat Feb 22, 2025 6:05 am

Hi
I would like to ask whether opensim supports calculating the angular velocity of whole body segments.
If so, which function can do it? I have not found this function yet. The body kinematics function seems to only have position, velocity and acceleration data.
Another question is whether opensim can calculate the angular momentum of whole body segments.

Best
jintao Pan

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

Re: Angular momentum issue

Post by Nicos Haralabidis » Sat Feb 22, 2025 6:38 pm

Hello Jintao!

To get the angular velocity of a body you can use getAngularVelocity https://simtk.org/api_docs/opensim/api_ ... 93fa89daae or getVelocityInGround https://simtk.org/api_docs/opensim/api_ ... 4526ef9629 - returns angular and linear

To get the whole body angular momentum you can use calcMomentum https://simtk.org/api_docs/opensim/api_ ... 3cd9e8b471 - returns angular and linear whole system momentum

Thanks,

Nicos

User avatar
jintao Pan
Posts: 12
Joined: Thu Nov 02, 2023 1:06 am

Re: Angular momentum issue

Post by jintao Pan » Sat Feb 22, 2025 10:33 pm

Hi

Thank you very much for your detailed reply!
Now I know what to do!

Thanks,

Jintao Pan

POST REPLY