how to get the ankle angle?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
li haoran
Posts: 8
Joined: Mon Apr 16, 2018 12:59 am

how to get the ankle angle?

Post by li haoran » Mon Jul 16, 2018 8:01 pm

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?

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: how to get the ankle angle?

Post by Dimitar Stanev » Tue Jul 17, 2018 12:26 am

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

POST REPLY