pytransform3d.transformations.dual_quaternion_double#

pytransform3d.transformations.dual_quaternion_double(dq)[source]#

Create another dual quaternion that represents the same transformation.

The unit dual quaternions σ=p+ϵq and σ represent exactly the same transformation. The reason for this ambiguity is that the real quaternion p represents the orientation component, the dual quaternion encodes the translation component as q=0.5tp, where t is a quaternion with the translation in the vector component and the scalar 0, and rotation quaternions have the same ambiguity.

Parameters:
dqarray-like, shape (8,)

Unit dual quaternion to represent transform: (pw, px, py, pz, qw, qx, qy, qz)

Returns:
dq_doublearray, shape (8,)

-dq