mat2quat

Rotation matrix to quaternion function.

Warning

This function is deprecated and now longer supported. Please use algebra.rotation2quat(rot.T) instead.

param rot:

Rotation matrix

returns:

equivalent quaternion

rtype:

np.array