pytransform3d.transformations.transform_from

pytransform3d.transformations.transform_from(R, p, strict_check=True)[source]

Make transformation from rotation matrix and translation.

\boldsymbol{T}_{BA} = \left(
\begin{array}{cc}
\boldsymbol{R} & \boldsymbol{p}\\
\boldsymbol{0} & 1
\end{array}
\right) \in SE(3)

Parameters:
Rarray-like, shape (3, 3)

Rotation matrix

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.

Returns:
A2Barray, shape (4, 4)

Transform from frame A to frame B

Examples using pytransform3d.transformations.transform_from

Sample Transforms

Sample Transforms

Sample Transforms
Transform Concatenation

Transform Concatenation

Transform Concatenation
Plot Transformed Cylinders

Plot Transformed Cylinders

Plot Transformed Cylinders
Plot Transformation through Screw Motion

Plot Transformation through Screw Motion

Plot Transformation through Screw Motion
Transformation Manager

Transformation Manager

Transformation Manager
Rotate Cylinder

Rotate Cylinder

Rotate Cylinder
Camera Transform

Camera Transform

Camera Transform
Plot Straight Line Paths

Plot Straight Line Paths

Plot Straight Line Paths
Invert Uncertain Transform

Invert Uncertain Transform

Invert Uncertain Transform
Managing Transformations over Time

Managing Transformations over Time

Managing Transformations over Time
Animate Trajectory

Animate Trajectory

Animate Trajectory
Plot Box

Plot Box

Plot Box
Visualize Transformed Cylinders

Visualize Transformed Cylinders

Visualize Transformed Cylinders
Animate Trajectory

Animate Trajectory

Animate Trajectory
Transformation Editor

Transformation Editor

Transformation Editor