first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / kernel / ao_tracker.h
index 43556965ee2f0442a5cee07934a71117a438e614..27fa15a896dc7a266fa7a385de37274ec7080679 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 #ifndef _AO_TRACKER_H_
 #define _AO_TRACKER_H_
 
-#define AO_CONFIG_DEFAULT_TRACKER_START_HORIZ  1000
-#define AO_CONFIG_DEFAULT_TRACKER_START_VERT   100
+/* Any motion more than this will result in a log entry */
+
+#define AO_TRACKER_MOTION_DEFAULT      10
+#define AO_TRACKER_INTERVAL_DEFAULT    1
+
+#define AO_TRACKER_MOTION_COUNT                10
 
 void
 ao_tracker_init(void);
 
+void
+ao_tracker_erase_start(int32_t flight);
+
+void
+ao_tracker_erase_end(void);
+
 #endif /* _AO_TRACKER_H_ */