pytransform3d.transformations.check_transform

pytransform3d.transformations.check_transform(A2B, strict_check=True)[source]

Input validation of transform.

Parameters
A2Barray-like, shape (4, 4)

Transform from frame A to frame B

strict_checkbool, optional (default: True)

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

Returns
A2Barray, shape (4, 4)

Validated transform from frame A to frame B

Raises
ValueError

If input is invalid

Examples using pytransform3d.transformations.check_transform