From: Keith Packard Date: Mon, 28 Oct 2013 06:11:37 +0000 (-0700) Subject: altos: Add functions to init quaternions from vector pairs and euler angles X-Git-Tag: 1.2.9.4~33 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c10cb9d31765e6ef0ba737bc484c5aed22a332f9;hp=c10cb9d31765e6ef0ba737bc484c5aed22a332f9 altos: Add functions to init quaternions from vector pairs and euler angles Our low sampling rate means that the "cheap" hack for integrating quaternion rotations by using sin(x) ≃ x doesn't work, so instead we have to compute the partial rotation the hard way. Signed-off-by: Keith Packard ---