random¶
-
Quaternion.
random
() → numpy.ndarray¶ Generate a random quaternion
To generate a random quaternion a mapping in SO(3) is first created and then transformed as explained originally by [Shoemake].
Returns: q – Random array corresponding to a valid quaternion Return type: numpy.ndarray