pytransform3d.rotations.assert_euler_xyz_equal

pytransform3d.rotations.assert_euler_xyz_equal(e_xyz1, e_xyz2, *args, **kwargs)[source]

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

Note that Euler angles are only unique if we limit them to the intervals [-pi, pi], [-pi/2, pi/2], and [-pi, pi] respectively. See numpy.testing.assert_array_almost_equal for a more detailed documentation of the other parameters.

Examples using pytransform3d.rotations.assert_euler_xyz_equal