Contact force estimation (static optim.) OpenSim 4.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Felix Laufer
Posts: 4
Joined: Wed Aug 29, 2018 12:34 am

Contact force estimation (static optim.) OpenSim 4.0

Post by Felix Laufer » Fri Mar 08, 2019 7:20 am

Hi everyone,

I know that there is the following plugin for estimating contact forces, e.g. ground reaction forces, within the static optimization routine:
https://simtk.org/projects/statopt-contact.
However, it doesn't work with the recent OpenSim 4.0 version out of the box.
Is there a similar contact force estimation feature already included in OpenSim 4.0?
Otherwise, I guess it would be possible to adapt the plugin quite easily...

Thanks and best regards
Felix

Tags:

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Contact force estimation (static optim.) OpenSim 4.0

Post by jimmy d » Fri Mar 08, 2019 7:57 am

I'm not sure what the plugin you mentioned actually does-- perhaps includes an optimization routine to adjust contact parameters-- but you don't need that to implement contact in OpenSim, it exists and is used pretty often.
Otherwise, I guess it would be possible to adapt the plugin quite easily...
That is not a good assumption. There have been many changes since 3.3 so, depending on what the plugin does, may have to be completely refactored.

If there isn't some specific reason to use 4.0, then you may want to use the 3.3 version so you can use the plugin.

User avatar
Felix Laufer
Posts: 4
Joined: Wed Aug 29, 2018 12:34 am

Re: Contact force estimation (static optim.) OpenSim 4.0

Post by Felix Laufer » Mon Mar 11, 2019 6:54 am

Let me cite from the related paper:
In this contribution, we propose a parametric con-
tact model and formulate an associated force optimization problem to simultaneously estimate
unknown muscle and contact forces in an inverse dynamic manner from a prescribed motion
trajectory. Unlike existing work, we consider both the static and the kinetic regime of Coulomb's
friction law.
More precisely, I want to predict ground reaction forces during normal gait within the static optimization routine (with the assumption of an "efficient" muscle allocation), which I already did using AnyBody.
Now I'd like to reproduce the results with OpenSim. So, I guess there is no direct equivalent in OpenSim 4.0.
I think I'll start with the 3.3 version first and try to adapt the plugin later, if necessary.

User avatar
Felix Laufer
Posts: 6
Joined: Wed Jan 13, 2016 7:09 am

Re: Contact force estimation (static optim.) OpenSim 4.0

Post by Felix Laufer » Tue Apr 16, 2019 8:40 am

I managed to update the code to OpenSim 4.0 and contacted the author of the plugin.
So, there is an updated version (contactForces4.0) on the project page that works with OpenSim 4.0: https://simtk.org/projects/statopt-contact

POST REPLY