pytransform3d.rotations.assert_euler_equal#

pytransform3d.rotations.assert_euler_equal(e1, e2, i, j, k, *args, **kwargs)[source]#

Raise an assertion if two Euler angles are not approximately equal.

Parameters:
e1array-like, shape (3,)

Rotation angles in radians about the axes i, j, k in this order.

e2array-like, shape (3,)

Rotation angles in radians about the axes i, j, k in this order.

iint from [0, 1, 2]

The first rotation axis (0: x, 1: y, 2: z)

jint from [0, 1, 2]

The second rotation axis (0: x, 1: y, 2: z)

kint from [0, 1, 2]

The third rotation axis (0: x, 1: y, 2: z)

argstuple

Positional arguments that will be passed to assert_array_almost_equal

kwargsdict

Positional arguments that will be passed to assert_array_almost_equal