Page 1 of 1
how to get the ankle angle?
Posted: Mon Jul 16, 2018 8:01 pm
by lhr
i am new in opensim!
Now there is a human musculoskeletal model. How can I get the ankle angle in the model in visual studio2017?
Re: how to get the ankle angle?
Posted: Tue Jul 17, 2018 12:26 am
by mitkof6
Hi,
Visual studio is just a tool for coding. You probably mean, accessing the ankle angle through the C++ API:
Code: Select all
model.getCoordinateSet().get("ankle_r").getValue(state)
However, there is more, you have to build and initialize the model to get the state. I strongly recommend that you go through the API examples:
https://simtk-confluence.stanford.edu/d ... +Tutorials