summaryrefslogtreecommitdiff
path: root/src/kernel/ao_config.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-10 09:52:15 -0700
committerKeith Packard <keithp@keithp.com>2014-06-10 09:54:42 -0700
commit9d7f4fb6af0fee843191766858e39a481aeda347 (patch)
treeb43e723b76af2195240c85c7bace0cd926479203 /src/kernel/ao_config.h
parentc5a7889a8da3da64deb0f118656784e0ee3fd511 (diff)
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>
Diffstat (limited to 'src/kernel/ao_config.h')
-rw-r--r--src/kernel/ao_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ao_config.h b/src/kernel/ao_config.h
index 77f73fbe..2b5cd352 100644
--- a/src/kernel/ao_config.h
+++ b/src/kernel/ao_config.h
@@ -96,8 +96,8 @@ struct ao_config {
uint8_t mid_beep; /* minor version 16 */
#endif
#if HAS_TRACKER
- uint16_t tracker_start_horiz; /* minor version 17 */
- uint16_t tracker_start_vert; /* minor version 17 */
+ uint16_t tracker_motion; /* minor version 17 */
+ uint8_t tracker_interval; /* minor version 17 */
#endif
#if AO_PYRO_NUM
uint16_t pyro_time; /* minor version 18 */