Users Manual
13 Appendix
13.1 Pose formats
13.1.1 XYZABC format
The XYZABC format is used to express a pose by 6 values. ππ π is the position in millimeters. π΄π΅πΆ are Euler
angles in degrees. The convention used for Euler angles is ZYX, i.e., π΄ rotates around the π axis, π΅ rotates around
the π axis, and πΆ rotates around the π axis. The elements of the rotation matrix can be computed by using
π
11
= cos π΅ cos π΄,
π
12
= sin πΆ sin π΅ cos π΄ β cos πΆ sin π΄,
π
13
= cos πΆ sin π΅ cos π΄ + sin πΆ sin π΄,
π
21
= cos π΅ sin π΄,
π
22
= sin πΆ sin π΅ sin π΄ + cos πΆ cos π΄,
π
23
= cos πΆ sin π΅ sin π΄ β sin πΆ cos π΄,
π
31
= β sin π΅,
π
32
= sin πΆ cos π΅, and
π
33
= cos πΆ cos π΅.
Note: The trigonometric functions sin and cos are assumed to accept values in degrees. The argument needs
to be multiplied by the factor
π
180
if they expect their values in radians.
Using these values, the rotation matrix π
and translation vector π are deο¬ned as
π
=
β
β
π
11
π
12
π
13
π
21
π
22
π
23
π
31
π
32
π
33
β
β
, π =
β
β
π
π
π
β
β
.
The transformation can be applied to a point π by
π
β²
= π
π + π.
13.1.2 XYZ+quaternion format
The XYZ+quaternion format is used to express a pose by a position and a unit quaternion. ππ π is the position in
meters. The quaternion is a vector of length 1 that deο¬nes a rotation by four values, i.e., π = (
π π π π€
)
π
with ||π|| = 1. The corresponding rotation matrix and translation vector are deο¬ned by
π
= 2
β
β
1
2
β π
2
β π
2
ππ β ππ€ ππ + ππ€
ππ + ππ€
1
2
β π
2
β π
2
ππ β ππ€
ππ β ππ€ ππ + ππ€
1
2
β π
2
β π
2
β
β
, π =
β
β
π
π
π
β
β
.
The transformation can be applied to a point π by
π
β²
= π
π + π.
185