Hello everyone,
I animated a model with 3D markers positions data, that I collected with motion capture. Since the opensim model doesn't move exactly as the original data, I would like to export position data of the model, in order to compare the original data and the model data.
I used the plot tool (which allows me to get angular variations) but I did not figure out how to get position data from the model.
How can I get 3D position data from the model ?
Thanks for your answers,
Guillaume T
How to export position data from the model
- Guillaume TIXIER
- Posts: 1
- Joined: Sat Mar 10, 2018 5:32 am
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: How to export position data from the model
If you're looking for the position and orientation of a body's center of mass relative to the Ground frame, you can try SimbodyEngine::getPosition() (https://simtk.org/api_docs/opensim/api_ ... cf11235179) and SimbodyEngine::getDirectionCosines() (https://simtk.org/api_docs/opensim/api_ ... 3df3c00efa).