pytransform3d.rotations.quaternion_wxyz_from_xyzw#

pytransform3d.rotations.quaternion_wxyz_from_xyzw(q_xyzw)[source]#

Converts from x, y, z, w to w, x, y, z convention.

Parameters:
q_xyzwarray-like, shape (4,)

Quaternion with scalar part after vector part

Returns:
q_wxyzarray, shape (4,)

Quaternion with scalar part before vector part

Examples using pytransform3d.rotations.quaternion_wxyz_from_xyzw#

Camera Trajectory

Camera Trajectory