diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-12 21:54:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-12 21:54:13 -0700 |
commit | dcaaf51245b44a440ee8590512f71195c30c16ae (patch) | |
tree | 914e9538c11d8fbd292b5d9adb3ea5c683d95ab6 /altoslib/AltosTelemetry.java | |
parent | 740d964ab82da8695c04650926afee4a0905011c (diff) |
altos/telegps: Keep ring of recent GPS positions to detect motion quickly
Instead of comparing only against the last logged value, keep a ring
and start logging as soon as we move away from the furthest one in the ring.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetry.java')
0 files changed, 0 insertions, 0 deletions