py3dframe.FrameTransform.get_rotation_vector#

FrameTransform.get_rotation_vector(*, convention=None, degrees=False)[source]#

Get the rotation vector 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.

  • degrees (bool, optional) – If True, the rotation vector will be in degrees. Default is False (radians).

Returns:

The rotation vector between the input frame and the output frame in the specified convention with shape (3,).

Return type:

numpy.ndarray