Page 1 of 1

Adding muscles to an exisiting model:

Posted: Tue Sep 12, 2017 5:46 pm
by mlaudu
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

Re: Adding muscles to an exisiting model:

Posted: Tue Sep 12, 2017 8:09 pm
by tkuchida
There's an example in the README.md file on GitHub that might be helpful: https://github.com/opensim-org/opensim-core.