pytransform3d.rotations
.quaternion_double#
- pytransform3d.rotations.quaternion_double(q)[source]#
Create another quaternion that represents the same orientation.
The unit quaternions q and -q represent the same orientation (double cover).
- Parameters:
- qarray-like, shape (4,)
Unit quaternion.
- Returns:
- q_doublearray, shape (4,)
-q
See also
pick_closest_quaternion
Picks the quaternion that is closest to another one in Euclidean space.