pytransform3d.transformations.translate_transform

pytransform3d.transformations.translate_transform(A2B, p, strict_check=True, check=True)[source]

Sets the translation of a transform.

Parameters
A2Barray-like, shape (4, 4)

Transform from frame A to frame B

parray-like, shape (3,)

Translation

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.

checkbool, optional (default: True)

Check if transformation matrix is valid

Returns
A2Barray-like, shape (4, 4)

Transform from frame A to frame B

Examples using pytransform3d.transformations.translate_transform