Given multiple quaternions representing orientations, and I want to average them. Each one has a different weight, and they all sum up to one.
How can I get the average of them? Simple multiplication by weights and addition won't work, since it doesn't take into account that (qw, qx, qy, qz) = (-qw, -qx, -qy, -qz)..