py3dframe.Frame.global_quaternion#
- property Frame.global_quaternion: ndarray#
The quaternion representation of the rotation between the global frame and this frame in the convention of the frame.
The quaternion is in the scalar first convention [w, x, y, z].
Note
This property is settable.
See also
attribute
parentto get or set the parent frame.attribute
conventionto get or set the convention of the frame.method
get_global_quaternion()to get the quaternion in a specific convention.method
set_global_quaternion()to set the quaternion in a specific convention.
- Parameters:
quaternion (numpy.ndarray) – The quaternion between the global frame and this frame in the convention of the frame as an array-like with 4 elements. The quaternion is in the scalar first convention [w, x, y, z].
- Returns:
The quaternion between the global frame and this frame in the convention of the frame with shape (4,). The quaternion is in the scalar first convention [w, x, y, z].
- Return type: