Author Topic: How can I get error(angle) of between two quaternions ?  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Offline ammjyTopic starter

  • Regular Contributor
  • *
  • Posts: 160
  • Country: kr
How can I get error(angle) of between two quaternions ?
« on: January 20, 2020, 09:25:13 pm »
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf