pytransform3d.transformations.transform_from_pq#

pytransform3d.transformations.transform_from_pq(pq)[source]#

Compute transformation matrix from position and quaternion.

Parameters:
pqarray-like, shape (7,)

Position and orientation quaternion: (x, y, z, qw, qx, qy, qz)

Returns:
A2Barray, shape (4, 4)

Transformation matrix from frame A to frame B

Examples using pytransform3d.transformations.transform_from_pq#

Camera Representation in 3D

Camera Representation in 3D

Transformation Manager

Transformation Manager

Camera Representation in 3D

Camera Representation in 3D