py3dframe.FrameTransform.get_euler_angles#
- FrameTransform.get_euler_angles(*, convention=None, seq='xyz', degrees=False)[source]#
Get the Euler angles representation of the rotation between the input frame and the output frame in a specified convention.
- Parameters:
convention (Optional[int], optional) – Integer in
[0, 7]selecting the convention to express the transformation between the input frame and the output frame. Default is the convention of the transformation.seq (str, optional) – The sequence of axes for the Euler angles. It must be a string of length 3 containing only the characters ‘X’, ‘Y’, ‘Z’, ‘x’, ‘y’, ‘z’. Default is ‘xyz’.
degrees (bool, optional) – If True, the Euler angles will be in degrees. Default is False (radians).
- Returns:
The Euler angles between the input frame and the output frame in the specified convention with shape (3,).
- Return type: