altos: Simplify tracker logic, removing boost detect
authorKeith Packard <keithp@keithp.com>
Tue, 10 Jun 2014 16:52:15 +0000 (09:52 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 Jun 2014 16:54:42 +0000 (09:54 -0700)
commit9d7f4fb6af0fee843191766858e39a481aeda347
treeb43e723b76af2195240c85c7bace0cd926479203
parentc5a7889a8da3da64deb0f118656784e0ee3fd511
altos: Simplify tracker logic, removing boost detect

This removes the ao_flight_state value from the tracker code and makes
it simply log position information when the device has moved within
the last 10 log intervals. This also changes the configuration
parameters to define what 'motionless' means, and what interval to
configure the GPS receiver for, log data and send telemetry.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_config.c
src/kernel/ao_config.h
src/kernel/ao_log_gps.c
src/kernel/ao_log_gps.h
src/kernel/ao_tracker.c
src/kernel/ao_tracker.h
src/telegps-v0.3/ao_telegps.c
src/telegps-v1.0/ao_telegps.c