Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actuallucky6969b

Posted 23 February 2013 - 10:31 PM

[del]


#4lucky6969b

Posted 23 February 2013 - 10:18 PM

I have found the formula for converting from a set of euler angles to matrix which says

 

[cos(h)cos(b)+sin(h)sin(p)sin(b)   -cos(h)sin(b)+sin(h)sin(p)cos(b)    sin(h)cos(p)]
[sin(b)cos(p)                                 cos(b)cos(p)            -sin(p)     ]
[-sin(h)cos(b)+cos(h)sin(p)sin(b)  sin(b)sin(h)+cos(h)sin(p)cos(b)   cos(h)cos(p) ]

And I was twisting my fingers all night last night.

And concluded that to convert from z-up to y-up, I must

 

rotate x by 180 degrees(pitch), y 90 degrees(head), z -90 degrees(bank)

But In the first term _11, I found that it was a 0 when it is supposed to be a 1 there.

did I make any assumptions wrong?

Thanks

Jack


#3lucky6969b

Posted 23 February 2013 - 10:17 PM

I have found the formula for converting from a set of euler angles to matrix which says

 

[cos(h)cos(b)+sin(h)sin(p)sin(b)   -cos(h)sin(b)+sin(h)sin(p)cos(b)    sin(h)cos(p)]
[sin(b)cos(p)                                 cos(b)cos(p)            -sin(p)     ]
[-sin(h)cos(b)+cos(h)sin(p)sin(b)  sin(b)sin(h)+cos(h)sin(p)cos(b)   cos(h)cos(p) ]

And I was twisting my fingers all night last night.

And concluded that to convert from z-up to y-up, I must

 

rotate x by 180 degrees(pitch), y 90 degrees(head), z -90 degrees(bank)

But In the first term _11, I found that it was 0 when it is supposed to be a 1 there.

did I make any assumptions wrong?

Thanks

Jack


#2lucky6969b

Posted 23 February 2013 - 09:59 PM

I have found the formula for converting from a set of euler angles to matrix which says

 

[cos(h)cos(b)+sin(h)sin(p)sin(b)   -cos(h)sin(b)+sin(h)sin(p)cos(b)    sin(h)cos(p)]
[sin(b)cos(p)                                 cos(b)cos(p)            -sin(p)     ]
[-sin(h)cos(b)+cos(h)sin(p)sin(b)  sin(b)sin(h)+cos(h)sin(p)cos(b)   cos(h)cos(p) ]

And I was twisting my fingers all night last night.

And concluded that to convert from z-up to y-up, I must

rotate

y by +ve 90 degrees and z by -ve 90 degrees.

But In the first term _11, I found that it was 0 when it is supposed to be a 1 there.

did I make any assumptions wrong?

Thanks

Jack


#1lucky6969b

Posted 23 February 2013 - 09:58 PM

I have found the formula for converting from a set of euler angles to matrix which says

[cos(h)cos(b)+sin(h)sin(p)sin(b)   -cos(h)sin(b)+sin(h)sin(p)cos(b)    sin(h)cos(p)]
[sin(b)cos(p)                                 cos(b)cos(p)                                -sin(p)           ]
[-sin(h)cos(b)+cos(h)sin(p)sin(b)  sin(b)sin(h)+cos(h)sin(p)cos(b)   cos(h)cos(p) ]

And I was twisting my fingers all night last night.

And concluded that to convert from z-up to y-up, I must

rotate

y by +ve 90 degrees and z by -ve 90 degrees.

But In the first term _11, I found that it was 0 when it is supposed to be a 1 there.

did I make any assumptions wrong?

Thanks

Jack


PARTNERS