pytransform3d.transformations
.rotate_transform#
- pytransform3d.transformations.rotate_transform(A2B, R, strict_check=True, check=True)[source]#
Sets the rotation of a transform.
- Parameters:
- A2Barray-like, shape (4, 4)
Transform from frame A to frame B
- Rarray-like, shape (3, 3)
Rotation matrix
- 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, shape (4, 4)
Transform from frame A to frame B