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
Angular momentum issue
- Nicos Haralabidis
- Posts: 210
- Joined: Tue Aug 16, 2016 1:46 am
Re: Angular momentum issue
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
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
- jintao Pan
- Posts: 12
- Joined: Thu Nov 02, 2023 1:06 am
Re: Angular momentum issue
Hi
Thank you very much for your detailed reply!
Now I know what to do!
Thanks,
Jintao Pan
Thank you very much for your detailed reply!
Now I know what to do!
Thanks,
Jintao Pan