the behavior of ModOpAddExternalLoads()

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
Aravind Sundararajan
Posts: 17
Joined: Mon Aug 29, 2016 2:59 pm

the behavior of ModOpAddExternalLoads()

Post by Aravind Sundararajan » Fri Oct 01, 2021 12:22 pm

Hi, quick question.

For developing gait tracking simulations and when using ModOpAddExternalLoads() in lieu of a contact tracking goal, does Moco care about the CoP and torques information in your external loads .mot and defined in the .xml or is it like MocoContactTrackingGoal() which specifically says in the api documentation that it does not care about these features of the external loads?

More specifically, I'm asking if you should not use this if you don't have center of pressure or torques reference data. I assume the answer is no and this applies loads to the model in the same way as performed in other analyses in opensim, but just checking.

-Sunny

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

Re: the behavior of ModOpAddExternalLoads()

Post by Nicholas Bianco » Tue Oct 12, 2021 9:18 am

Hi Sunny,

When using ModOpAddExternalLoads(), the loads will be applied to the model as defined in the external loads file, including all forces (+COP info) and torques. Moco has no control over the external loads in this cases, the forces are simply a part of the model.

-Nick

POST REPLY