Rolling average for pad location. Say 'GPS ready'.
authorKeith Packard <keithp@keithp.com>
Sat, 18 Jul 2009 00:06:18 +0000 (17:06 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 18 Jul 2009 00:06:18 +0000 (17:06 -0700)
commit31d5670a9144b943ce9c8cb00deb5fb659af0b1c
tree10bd1549ad8cdec1609c61005e04af4af2813c68
parentbfe1e76c82738baaf65abbc58c3244a07ea8fefe
Rolling average for pad location. Say 'GPS ready'.

Use a rolling average for the pad location, instead of just averaging all
positions. This filters out old (presumably less accurate) values eventually.

When enough GPS samples have been acquired, say 'GPS ready'.

Signed-off-by: Keith Packard <keithp@keithp.com>
aoview/aoview.h
aoview/aoview_state.c