altos: Compute initial rotation from vertical
authorKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:35:54 +0000 (23:35 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:35:54 +0000 (23:35 -0700)
This initializes the rotation with the angle from vertical, rather
than simply recording the off-angle vector. Doing this allows us to
accurately track the true orientation of the rocket, instead of just
the offset from the initial non-vertical orientation.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found