Hello
I'm having a little trouble calculating the internal work based on the segmental acceleration of the center of mass extracted from OpenCap and processed in OpenSim.
So that I can perform the calculation I need the mass of each segment (foot, leg, thigh...) but when I searched for this on the site I can't find a full body model (just "Gait 2392 and 2354 Models"), with arm , forearm, hand and head.
If you can help me with this reference I would be grateful
Segment Mass
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: Segment Mass
You can get the mass of each segment of the model in a few ways:
1. In the GUI, load the model, then select a single body. In the properties pane, fine the "mass" property and the associated value.
2. Open the model file in a text editor (like Notepad++). An OpenSim model file is an XML file. Find the associated <mass> tag with each body.
3. If using MATLAB, Python, C++, use `Body::getMass()` (documentation).
1. In the GUI, load the model, then select a single body. In the properties pane, fine the "mass" property and the associated value.
2. Open the model file in a text editor (like Notepad++). An OpenSim model file is an XML file. Find the associated <mass> tag with each body.
3. If using MATLAB, Python, C++, use `Body::getMass()` (documentation).
- Edilson Borba
- Posts: 31
- Joined: Fri Oct 07, 2022 11:27 am
Re: Segment Mass
Thank you, I was able to find it inside the model file