pytransform3d.rotations.assert_quaternion_equal

pytransform3d.rotations.assert_quaternion_equal(q1, q2, *args, **kwargs)[source]

Raise an assertion if two quaternions are not approximately equal.

Note that quaternions are equal either if q1 == q2 or if q1 == -q2. See numpy.testing.assert_array_almost_equal for a more detailed documentation of the other parameters.

Examples using pytransform3d.rotations.assert_quaternion_equal