Electronics > Beginners
How can I get error(angle) of between two quaternions ?
(1/1)
ammjy:
Hello, EEVblog users,
always thanks you for your time.
in Euler angles case,
first, If desired Euler angles are 5, 5, 5 (in order xyz).
and If state of Euler angles are 4, 4, 4.
than, the "error" will be 1, 1, 1 simply. (it is error, so it is not meaning attitude)
but, in Quaternion case,
Quaternion has exteneded complex number system with 4 components w + xi + yj + zk,
therefore, it can not be calculated simply like a Euler angles.
and rule of subtract of between two quaternion is as follows.
difference = quaternion1 * inverse(quaternion2)
( here, suppose, two quaternions has difference as much Euler angle 1 degree.)
but, when I convert "difference" to Euler angle after calculate, result is not 1 degree.
Could you give some advice for me ? maybe I am thinking wrong about it.
Please, let me know.
Navigation
[0] Message Index
Go to full version