TransformAxis help?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ashleigh Louise Wiseman
Posts: 14
Joined: Thu Aug 15, 2019 12:53 pm

TransformAxis help?

Post by Ashleigh Louise Wiseman » Mon Feb 14, 2022 8:09 am

I have a lower limb model in Opensim 4x (have an earlier 3.3 version too if need to revert). My pelvis has z up rather than y up*. Can I use the TransformAxis function in the matlab API to correct this? If so, can someone please explain how it works? I've looked through the doxygen page but I'm lost at how to get started with the MATLAB API to do this. thanks!

*I've changed the osim script using the TransformAxis function for Pelvis_Ty to make the pelvis behave correctly, but I've still got issues in subsequent analyses (i.e., loading in SCONE) which has been suggested to me might be because my pelvis joint and ground joint have different coordinate systems.

For example in the osim file:
<TransformAxis name="translation2">
<coordinates>Pelvis_Ty</coordinates>
<axis>0 0 1</axis>
<LinearFunction name="function">
<coefficients> 1 0</coefficients>
</LinearFunction>
</TransformAxis>

Any thoughts? Thanks so much in advance :)

Tags:

POST REPLY