![](https://csdnimg.cn/release/download_crawler_static/86581652/bg1.jpg)
Euler angles and axis angle relationship corrected.
0) Different notations for Euler angles:
�
�
�
�
�
�
1) From Euler angles (
�
�
�
) to axis angle (
�
�
x y z):
See
http://prt.fernuni-hagen.de/lehre/KURSE/PRT001/course_main_sh3d/node10.html
Euler matrix is:
� � � � � �
���
,,, zRxRzRR
E
���
Notation:
� �
angleaxisR ,
Let find angle
�
�
from the trace:
� � � � � � � �� � � � � � � �� �
�������
������
,,,,,, zRzRxRTrzRxRzRTrRTr
E
� � � �� �
���
��� ,, zRxRTr
=
� � � �
� � � �
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
��
���
�
�
�
�
�
�
�
�
�
�
�
�
100
0cossin
0sincos
cossin0
sincos0
001
����
����
��
��
Tr
� � � �
������
coscoscoscos ������
In previous doc file was error because cross product is not directed along the axis. It directed
along the axis only if test vector perpendicular to axis.