Contact Geometry with Provided Models

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Umer Huzaifa
Posts: 10
Joined: Wed Mar 04, 2020 11:41 pm

Contact Geometry with Provided Models

Post by Umer Huzaifa » Thu Jul 27, 2023 10:34 am

Hi there,

I am still learning scripting in Matlab and Python. As a simple exercise, I was loading different models and simulating them for a given amount of time. All the models fall through he ground. I understand that this is because of absence of any movement data. But I wondered if contact physics information was available for the models. On skimming through the .osim files I don't see this information. Are they available elsewhere? I am specifically looking for contact models of gait2392 and gait2354.

Best,
Umer

User avatar
Thomas Uchida
Posts: 1777
Joined: Wed May 16, 2012 11:40 am

Re: Contact Geometry with Provided Models

Post by Thomas Uchida » Fri Jul 28, 2023 10:19 am

The floor in the visualizer is just an image; it does not apply forces to the model. You can define contact forces between the model and the ground if you wish. The "Building a Dynamic Walker in Matlab" example (https://simtk-confluence.stanford.edu:8 ... +in+Matlab) demonstrates how to do this.

POST REPLY