Page 1 of 1

Inverse Kinematics Gait Problem

Posted: Thu Jun 20, 2024 6:59 am
by caesar0729
Hi
I have run the data package I downloaded from opencap through the code in "Github-opencap-processing-example-example_gait_analysis.py", and by modifying "example_gait_anaylsis.py", I got the kinematic data of each gait I wanted.
My question is, how can I get the kinetic data and other data of each gait?
Do I need to use OpenSim to calculate inverse dynamics and write code to divide the gait data saved locally? Or can I directly get the dynamic data of each gait through OpenSim and save it locally?

Here is the code I modified and inematic data of individual gaits:
modified code.png
modified code.png (95.36 KiB) Viewed 697 times
individual gait.png
individual gait.png (48.19 KiB) Viewed 697 times
Best
jintao Pan

Re: Inverse Kinematics Gait Problem

Posted: Thu Jun 20, 2024 10:54 am
by antoinefalisse
For dynamics, you should run dynamic simulations: https://github.com/stanfordnmbl/opencap ... imulations We have examples here https://github.com/stanfordnmbl/opencap ... e#examples

Antoine

Re: Inverse Kinematics Gait Problem

Posted: Thu Jun 20, 2024 12:09 pm
by caesar0729
Thank you, doctor.
Sorry I didn't notice the dynamic code below the list.
If I have any other questions, I'll consult you later.
Thanks again!

Best
Jintao Pan