pytransform3d.rotations.assert_mrp_equal#

pytransform3d.rotations.assert_mrp_equal(mrp1, mrp2, *args, **kwargs)[source]#

Raise an assertion if two MRPs are not approximately equal.

There are two MRPs that represent the same orientation (double cover). See numpy.testing.assert_array_almost_equal for a more detailed documentation of the other parameters.

Parameters:
mrp1array-like, shape (3,)

Modified Rodrigues parameters.

mrp1array-like, shape (3,)

Modified Rodrigues parameters.

argstuple

Positional arguments that will be passed to assert_array_almost_equal

kwargsdict

Positional arguments that will be passed to assert_array_almost_equal