heading = atan2(-m20,m00)
attitude = asin(m10)
bank = atan2(-m12,m11)
heading = atan2(0,0)
attitude = asin(-1)
bank = atan2(0,0)
since M10=-1 (south pole)
which gives:
heading = atan2(M02,M22)
= atan2(0,1)
bank = 0
heading = 0
attitude = -90 degrees
bank = 0
|
heading = atan2(-m20,m00)
attitude = asin(m10)
bank = atan2(-m12,m11)
heading = atan2(0,0)
attitude = asin(-1)
bank = atan2(0,0)
since M10=-1 (south pole)
we use this instead:
heading = atan2(M02,M22)
= atan2(1,0)
bank = 0
heading = 90 degrees
attitude = -90 degrees
bank = 0
|
heading = atan2(-m20,m00)
attitude = asin(m10)
bank = atan2(-m12,m11)
heading = atan2(0,0)
attitude = asin(-1)
bank = atan2(0,0)
since M10=-1 (south pole)
we use this instead:
heading = atan2(M02,M22)
= atan2(0,-1)
bank = 0
heading = 180 degrees
attitude = -90 degrees
bank = 0
|
heading = atan2(-m20,m00)
attitude = asin(m10)
bank = atan2(-m12,m11)
heading = atan2(0,0)
attitude = asin(-1)
bank = atan2(0,0)
since M10=-1 (south pole)
we use this instead:
heading = atan2(M02,M22)
= atan2(-1,0)
bank = 0
heading = -90 degrees
attitude = -90 degrees
bank = 0
|