Page 1 of 1

Failed to run gait analysis through Python

Posted: Sat Mar 30, 2024 8:49 pm
by caesar0729
Hello,

I am a first-year graduate student who has just studied sports biomechanics. Now I have some questions and I really hope to get your answers.
I tried using "example_gait_analysis.py" to run the local data I recorded via Opencap, but it failed. I changed the local code location, session id ,the number of "n_gait_cycles = -1"and trial name in the "example_gait_analysis.py" code, but the operation failed. Python showed that it could not recognize the gait cycle and other problems. I am not sure whether it was because I changed the wrong things. The run failed.
And I would like to get the gait cycle and other information and process the data I downloaded from opencap through opensim, but I don't find the gait analysis tool in Opensim

It's my great honor to getting your answer.
Thank you!!

Here is the error code issue I'm having:
e29f3ca097620259e99203652c13ee7.jpg
e29f3ca097620259e99203652c13ee7.jpg (4.75 KiB) Viewed 341 times
a20f40ed398d4566c866a7e1ed7ce60.jpg
a20f40ed398d4566c866a7e1ed7ce60.jpg (261.01 KiB) Viewed 341 times
0fd3a337fa80f8e8dfe05b93bc12e79.jpg
0fd3a337fa80f8e8dfe05b93bc12e79.jpg (61.51 KiB) Viewed 341 times
屏幕截图 2024-03-31 114804.png
屏幕截图 2024-03-31 114804.png (90.3 KiB) Viewed 341 times