Joint Axes of Rotation Display

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jennifer Nichols
Posts: 4
Joined: Wed Jan 14, 2009 11:31 am

Joint Axes of Rotation Display

Post by Jennifer Nichols » Fri Sep 26, 2014 12:36 pm

Is there a way to display the location and orientation of joint axes in the GUI?

I understand that you can see the numerical coordinates in the properties menu by clicking on the joint. I also understand that you can toggle child and parent frames. However, I cannot find a way to display joint axes of rotation that are not coincident with bone axes.

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Joint Axes of Rotation Display

Post by jimmy d » Thu Oct 02, 2014 4:57 pm

Hi Jennifer,

The parent and child joint frames describe the joint axis.

You can change the <orientation_in_parent> (0,0,1) and mirror the change in <orientation> (0,0,1) to see how you can alter the joint axis.

Hope that helps,
-james

User avatar
Jennifer Nichols
Posts: 4
Joined: Wed Jan 14, 2009 11:31 am

Re: Joint Axes of Rotation Display

Post by Jennifer Nichols » Fri Oct 03, 2014 9:39 am

Hi James,

Can you provide a little bit more information on how you can use the parent-child orientation to visualize non-orthogonal axes of rotation?

For example, in the MoBL-ARMS Dynamic Upper Limb model, the wrist's radiocarpal joint has two non-orthogonal axes of rotation described in rotation1 [-0.819064 -0.135611 -0.557444] and rotation3 [0.95642673 -0.25220693 0.14710396]. However, my understanding is that the parent/child frame description on the joint does not allow visualization of both of these axes simultaneously because any input for the orientation_in_parent will transform (and display) the orthogonal coordinate system of the bone.

Thanks for your help!


Jen

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Joint Axes of Rotation Display

Post by jimmy d » Thu Oct 16, 2014 10:57 am

Jennifer-

There no way of visualizing non-orthogonal rotation axes in the gui. You can make a feature request under the advanced tab.

Cheers,
-james

User avatar
Jennifer Nichols
Posts: 4
Joined: Wed Jan 14, 2009 11:31 am

Re: Joint Axes of Rotation Display

Post by Jennifer Nichols » Thu Oct 16, 2014 12:36 pm

James,

Thanks for the clarification. I submitted the feature request.


Jen

User avatar
Justin Wager
Posts: 6
Joined: Sun Jun 09, 2013 10:08 pm

Re: Joint Axes of Rotation Display

Post by Justin Wager » Fri Jan 09, 2015 2:13 pm

Hi Jen,

I was having this same problem. In another thread, Ayman Habib suggested a hack of adding 2 markers and computing their locations to lie on the axis. I did this by scaling the rotation axis unit vector (taken from the .osim file) by 0.1 and adding it to the "location in parent" of the axis. I computed a second marker with the same method, but using the negative of the rotation axis unit vector

For your arm model's rotation1:
0.1* [-0.819064 -0.135611 -0.557444] + [loc_in_parent]
and
0.1* [+0.819064 +0.135611 +0.557444] + [loc_in_parent]

This hack can be taken a step further to get an actual line visualization instead of markers. Add a PathSpring to your .osim file. In the GUI, edit the GeometryPath of the PathSpring so that it has 2 attachment points, both on the parent body of your axis. Give the attachment points the values that you computed for the markers above. You should then see your axis.

Hope that helps - let me know if you need more clarification.

Justin

User avatar
Jennifer Nichols
Posts: 4
Joined: Wed Jan 14, 2009 11:31 am

Re: Joint Axes of Rotation Display

Post by Jennifer Nichols » Fri Jan 09, 2015 2:24 pm

Hi Justin,

Thanks for the suggestion. I've used a similar approach with muscle paths for visualization purposes, but hadn't thought about using the PathSpring.

I am hoping a visualization feature in the GUI is added in the future since it is inefficient to maintain model files separately for visualization vs. dynamic simulation.


Jen

POST REPLY