CasADi error

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
Bernhard Faerber
Posts: 27
Joined: Thu Nov 10, 2022 1:57 am

CasADi error

Post by Bernhard Faerber » Mon Jan 29, 2024 10:09 am

Dear OpenCap Team,

thanks to your support so far, I was able to reprocess data successfully and use a different MS model for kinematic analyses.
Data seems promising up until now, at least for the kinematic side of things.

Currently I am trying to run dynamic simulations on the reprocessed data using example_kinetics.py.
So far I have added a 'drop_jump' option when choosing the motion type here as well as adding the new MS model to the OpenSimPipeline/Models folder.

When executing the script I get an error related to CasADI (please see the attached screenshot)

Image

Can you make sense of what is causing this error?

Thank you for your continued support and also for any help concerning this issue.

Best

Bernhard
Attachments
Error dropjump simulation.png
Error dropjump simulation.png (207.92 KiB) Viewed 841 times

Tags:

User avatar
Scott Uhlrich
Posts: 124
Joined: Tue Jan 20, 2015 4:29 pm

Re: CasADi error

Post by Scott Uhlrich » Wed Jan 31, 2024 10:37 am

The dynamic simulations don't yet support different MSK models out of the box, unfortunately.

User avatar
Bernhard Faerber
Posts: 27
Joined: Thu Nov 10, 2022 1:57 am

Re: CasADi error

Post by Bernhard Faerber » Sat Feb 03, 2024 5:05 am

Hi,

I'm aware of the fact that no out of the box support exists for different MSK models.

What would be the steps necessary to get the simulation running?
I can try my best, maybe my solution could be implemented for other users too.

Best

Bernhard

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

Re: CasADi error

Post by Antoine Falisse » Mon Feb 05, 2024 6:07 pm

The easiest is probably to use Moco, since it supports all msk model. We have an example: https://github.com/stanfordnmbl/opencap ... /main/Moco

Do you want to run simulations with the model with the knee valgus coordinate?

POST REPLY