Squad2Stand GRF

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
POST REPLY
User avatar
Burak Kula
Posts: 31
Joined: Wed Dec 04, 2019 3:34 pm

Squad2Stand GRF

Post by Burak Kula » Tue Jun 08, 2021 12:09 am

Hello Everyone,

Currently I am trying to extract GRF solution from squad2stand prediction study. To do so, I combined exampleSquad2Stand MATLAB script and GRF obtaining part of example2DWalking's GRF prediction part.
But when I've run my script, even if "contactForces" are exist in model( I can see them in OpenSim, under Forceset. Like in 2D_Gait.osim file), I had an error and it says "contactForces" could not found.

How can I solve this error and What is the reason of this error ?

Regards, Burak.

User avatar
Nicholas Bianco
Posts: 963
Joined: Thu Oct 04, 2012 8:09 pm

Re: Squad2Stand GRF

Post by Nicholas Bianco » Tue Jun 08, 2021 12:23 pm

Hi Burak,

The SquatToStand model's foot is welded to the floor, there are no contact forces in this model. You could compute the reaction forces between the foot and the ground as an alternative to get a rough approximation of what the contact forces would have been.

-Nick

User avatar
Chonghui Zhang
Posts: 10
Joined: Wed May 19, 2021 1:58 am

Re: Squad2Stand GRF

Post by Chonghui Zhang » Wed Jun 09, 2021 1:56 am

Hi Nick,

I found the results from joint reaction force calculation were not the same as that from contact forces calculation. You said the former is a rough approximation of the latter. I wonder the reason why they are different.

Thanks :D ,
San

User avatar
Nicholas Bianco
Posts: 963
Joined: Thu Oct 04, 2012 8:09 pm

Re: Squad2Stand GRF

Post by Nicholas Bianco » Wed Jun 09, 2021 9:58 pm

Hi San,

How did you calculate the contact forces? As I said before, there are no contact elements in the model.

To be more specific, the weld constraint between the ground and the foot is a decent approximation of contact forces only if the foot is not being pulled upwards, which creates a reaction force that is not possible (unless your model stepped on some chewing gum :)). Obviously, this is something the model can exploit during the optimization, so it's possible that you won't find a good match to contact forces from an experimental squat to stand motion.

-Nick

POST REPLY