altoslib: Rotation off by factor of two
authorKeith Packard <keithp@keithp.com>
Sun, 13 Sep 2015 03:41:37 +0000 (20:41 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Oct 2015 20:54:28 +0000 (13:54 -0700)
commit618f7ac8f31941fcbb3ed91829de69c0f0be8e0b
tree9b9c0f77aa1634f0dac85d46492fd7a3993741ea
parent0afa07d3c1dcb5e301fcb8b4edfecdd961662478
altoslib: Rotation off by factor of two

The rotation computation was off by a factor of two when converting
the rates to a quaternion (the quaternion needs to be half of the
actual rotation amount). This ended up presenting a tilt angle of
twice what it should be.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosRotation.java