Hello all,
I am using the full body opensim model to model certain aspects of aircraft ejection, and total body COM is very important parameter to the simulations. After I scale my model, how can I check that the total body COM matches my subjects. I have data for total body COM of my subjects seated with 90 degree hip, knee, and elbow flexion. Once I position my model in the same pose, if I right click the bodies main tab on the Navigator tab, i can choose to see the total body COM, but I see no way to get it's actual position with respect to ground. Is there an easy way to get this data within the Opensim GUI? Since it shows you the COM, it has to be calculated in the program somewhere. If anyone has an easy way to extract that data, please tell me.
How to output total body COM
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: How to output total body COM
Yes, you can use the "ScriptingShell Window":Is there an easy way to get this data within the Opensim GUI?
Code: Select all
model = getCurrentModel();
state = model.initSystem();
pos = model.calcMassCenterPosition(state);
pos