Physical frames spatial position information

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Pablo Delgado
Posts: 24
Joined: Tue Feb 11, 2020 3:39 pm

Physical frames spatial position information

Post by Pablo Delgado » Thu Feb 24, 2022 9:36 am

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

Tags:

User avatar
Carmichael Ong
Posts: 378
Joined: Fri Feb 24, 2012 11:50 am

Re: Physical frames spatial position information

Post by Carmichael Ong » 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.

User avatar
Pablo Delgado
Posts: 24
Joined: Tue Feb 11, 2020 3:39 pm

Re: Physical frames spatial position information

Post by Pablo Delgado » Mon Mar 07, 2022 10:01 am

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!

POST REPLY