Announcement

Collapse
No announcement yet.

Please help me! Helical coordinates problem.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Please help me! Helical coordinates problem.

    The Femur coordinate's rotation is that x=-19.71 deg , y = 3.67 deg , z=-44.71 deg about origin coordinates. Also Pelvis coordinate rotate about x = 9.73 deg , y = 3.87 deg , z = -88.71 deg from origin coordinate.

    All rotations are represented helical method and global angles.


    I want to know how to get rotation matrix from Femur to Pelvis and how to decompose this matrix.


    I have DH method of coordinate transformation, like Z-Y-X , but totally don't know about helical method.


    please help me.

  • #2
    Re: Please help me! Helical coordinates problem.

    Helical angles represent the angle-axis parameters for the rotation. The axis of rotation (in global "origin" coordinates) is a unit vector. Each component of this unit vector is multiplied by the amount of rotation. The result is the three helical angles.

    To get the rotation matrix from femur to pelvis, do the following steps:
    • convert the Femur helical angles to the Femur rotation matrix Rfemur
    • convert the Pelvis helical angles to the Pelvis rotation matrix Rpelvis
    • the Femur to Pelvis rotation matrix is now: inv(Rfemur)*Rpelvis


    Watch out how the rotation matrices are defined. I always define Rfemur as the matrix that transforms local femur coordinates into global coordinates. This is the most common definition, but you sometimes see the opposite.

    For the conversion from angle-axis into rotation matrix, see: http://www.euclideanspace.com/maths/...angleToMatrix/

    This uses the 4 variables angle, x, y, z. From your 3 helical angles (theta), you can calculate these as follows:

    angle = norm(theta) (or angle = sqrt(theta(1)^2 + theta(2)^2 + theta(3)^2)
    x = theta(1)/angle
    y = theta(2)/angle
    z = theta(3)/angle

    Ton van den Bogert

    Comment

    Working...
    X