pytransform3d.trajectories.transforms_from_pqs

pytransform3d.trajectories.transforms_from_pqs(P, normalize_quaternions=True)[source]

Get sequence of homogeneous matrices from positions and quaternions.

Parameters
Parray-like, shape (…, 7)

Poses represented by positions and quaternions in the order (x, y, z, qw, qx, qy, qz)

normalize_quaternionsbool, optional (default: True)

Normalize quaternions before conversion

Returns
A2Bsarray, shape (…, 4, 4)

Poses represented by homogeneous matrices

Examples using pytransform3d.trajectories.transforms_from_pqs