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
Physical frames spatial position information
- Pablo Delgado
- Posts: 24
- Joined: Tue Feb 11, 2020 3:39 pm
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: Physical frames spatial position information
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.
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.
- Pablo Delgado
- Posts: 24
- Joined: Tue Feb 11, 2020 3:39 pm
Re: Physical frames spatial position information
Thank you very much for your help!ongcf wrote: ↑Mon Feb 28, 2022 11:11 amDepending 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.