In addition to SmoothSphereHalfSpaceForce, can other types of contact forces be tracked in Moco ?

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
Jingke Song
Posts: 34
Joined: Tue Oct 19, 2021 4:52 am

In addition to SmoothSphereHalfSpaceForce, can other types of contact forces be tracked in Moco ?

Post by Jingke Song » Sat Apr 27, 2024 11:55 pm

In addition to SmoothSphereHalfSpaceForce, can other types of contact forces be tracked in Moco ? For example, in the process of going up and down the stairs, it is obviously inappropriate to use SmoothSphereHalfSpaceForce.

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

Re: In addition to SmoothSphereHalfSpaceForce, can other types of contact forces be tracked in Moco ?

Post by Nicholas Bianco » Mon Apr 29, 2024 12:42 pm

Hi Jingke,

SmoothSphereHalfSpaceForce is the recommended contact force element to use in Moco, since it is smooth and differentiable. It is possible to use other contact models, but most others supported in OpenSim will need to interact with a half-space plane in the same way and therefore will also not be suitable for walking down stairs.

If you only want to simulate a single step-down task, you could have two half-space contact geometry elements: one for each foot. Beyond that, we would need to support more complicated contact geometries that are not limited to half-place contact. One possibility would be to have a contact geometry element that is locally a half-plane, but the half-plane definition could change based on the location in ground.

-Nick

POST REPLY