Adding muscles to an exisiting model:

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Musa Audu
Posts: 47
Joined: Mon Nov 24, 2008 11:30 am

Adding muscles to an exisiting model:

Post by Musa Audu » Tue Sep 12, 2017 5:46 pm

Hi,
I have an existing model (mymodel.osim) that only contains the definitions of the skeletal system - no muscles. I tried to add muscles to this existing model (C++) by creating an instance of the muscle and then using addForce and later addToSystem to append the muscle to the model but none of these work. Can someone advise on the best way to add a muscle to an existing model in C++?
Thanks.
Musa

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

Re: Adding muscles to an exisiting model:

Post by Thomas Uchida » Tue Sep 12, 2017 8:09 pm

There's an example in the README.md file on GitHub that might be helpful: https://github.com/opensim-org/opensim-core.

POST REPLY