hello,
Now I have the .trc data when the person is being sit-to-stand.I just only want to get the kinetic energy about the period from starting
anteversion to start standing with 2 seconds.
I used the Analyze tool(BodyKinematics) of the ik solution and I can get the velocity of COM.
I have an idea that I can get a rough inertia moment I and then use the formula: E=1/2*I*w^2.But the result is not accurate.
Any advice will help, thanks in advance.
How to get the kinetic energy from the .trc data within 2 seconds?
- Peili Gong
- Posts: 2
- Joined: Wed Nov 03, 2021 2:18 am
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: How to get the kinetic energy from the .trc data within 2 seconds?
You could try collecting the "kinetic_energy" output from the model (https://simtk.org/api_docs/opensim/api_ ... f7d7e72fd9)---for example, by attaching an OutputReporter (https://simtk.org/api_docs/opensim/api_ ... orter.html). Alternatively, you could write a script to call the "calcKineticEnergy()" method (https://simtk.org/api_docs/opensim/api_ ... f6f3d9f73b) yourself at each time step of interest.