Inverse Kinematics Gait Problem

New project for OpenCap, which is a new software package to estimate 3D human movement dynamics from smartphone videos. OpenCap strongly relies on OpenSim.
POST REPLY
User avatar
jintao Pan
Posts: 9
Joined: Thu Nov 02, 2023 1:06 am

Inverse Kinematics Gait Problem

Post by jintao Pan » Thu Jun 20, 2024 6:59 am

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 92 times
individual gait.png
individual gait.png (48.19 KiB) Viewed 92 times
Best
jintao Pan

User avatar
Antoine Falisse
Posts: 422
Joined: Wed Jan 07, 2015 2:21 am

Re: Inverse Kinematics Gait Problem

Post by Antoine Falisse » Thu Jun 20, 2024 10:54 am

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

User avatar
jintao Pan
Posts: 9
Joined: Thu Nov 02, 2023 1:06 am

Re: Inverse Kinematics Gait Problem

Post by jintao Pan » Thu Jun 20, 2024 12:09 pm

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

POST REPLY