Page 1 of 1

Physical frames spatial position information

Posted: Thu Feb 24, 2022 9:36 am
by pablo_delgado
Greetings,

I would like to know if it is possible to get the spatial information of a body frame of a model during during a trajectory after applying the generalized coordinates motion to the model. What I want to do is to find the relative position and orientation of two body frames. Therefore, I need to find the spatial information of each frame with respect to the world frames since the two body frames are on separate models in Opensim.

Thank you very for your help.

Regards

Re: Physical frames spatial position information

Posted: Mon Feb 28, 2022 11:11 am
by ongcf
Depending on your pipeline, you might be able to use the BodyKinematics analysis.

If you're working with the API, check out the outputs in the Frame class (Body inherits from Frame): https://simtk.org/api_docs/opensim/api_ ... Frame.html

getTransformInGround() could be helpful here.

Re: Physical frames spatial position information

Posted: Mon Mar 07, 2022 10:01 am
by pablo_delgado
ongcf wrote:
Mon Feb 28, 2022 11:11 am
Depending on your pipeline, you might be able to use the BodyKinematics analysis.

If you're working with the API, check out the outputs in the Frame class (Body inherits from Frame): https://simtk.org/api_docs/opensim/api_ ... Frame.html

getTransformInGround() could be helpful here.
Thank you very much for your help!