pytransform3d.rotations.extrinsic_euler_zyx_from_active_matrix

pytransform3d.rotations.extrinsic_euler_zyx_from_active_matrix(R, strict_check=True)[source]

Compute extrinsic zyx Cardan angles from active rotation matrix.

Parameters
Rarray-like, shape (3, 3)

Rotation matrix

strict_checkbool, optional (default: True)

Raise a ValueError if the rotation matrix is not numerically close enough to a real rotation matrix. Otherwise we print a warning.

Returns
earray, shape (3,)

Angles for rotation around z-, y-, and x-axes (extrinsic rotations)

Examples using pytransform3d.rotations.extrinsic_euler_zyx_from_active_matrix