pytransform3d.rotations.quaternion_from_mrp#

pytransform3d.rotations.quaternion_from_mrp(mrp)[source]#

Compute quaternion from modified Rodrigues parameters.

Parameters:
mrparray-like, shape (3,)

Modified Rodrigues parameters.

Returns:
qarray, shape (4,)

Unit quaternion to represent rotation: (w, x, y, z)