Kawasaki XYZ-OAT format¶
The pose format that is used by Kawasaki robots consists of a position
in millimeters and an orientation
that is given by three angles in
degrees, with
rotating around
axis,
rotating
around the rotated
axis and
rotating around the rotated
axis. The rotation convention is
-
-
(i.e.
-
-
) and computed by
.
Conversion from Kawasaki-OAT to quaternion¶
The conversion from the angles in degrees to a quaternion
can be done by first
converting all angles to radians
and then calculating the quaternion with
Conversion from quaternion to Kawasaki-OAT¶
The conversion from a quaternion with
to the
angles in degrees can
be done as follows.
If and
the conversion is
If and
the conversion is
In all other cases the conversion is