pytransform3d.rotations.mrp_from_quaternion#

pytransform3d.rotations.mrp_from_quaternion(q)[source]#

Compute modified Rodrigues parameters from quaternion.

Parameters:
qarray-like, shape (4,)

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

Returns:
mrparray, shape (3,)

Modified Rodrigues parameters.