summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-18 21:01:15 -0700
committerKeith Packard <keithp@keithp.com>2011-03-18 21:01:15 -0700
commit7a4f6d5ad55637cde97a1e2f247f92df59bc2e14 (patch)
tree4dea4a19be48d940a3f05997562a4d2add46c0cf /src/ao.h
parentc985bb6a19c710409629f3c095332ba7afcf5248 (diff)
altos: Write height values to log for nano/mini
This is a lot more useful than the old filtered pressure data. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index fd8c6034..63f80678 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -706,6 +706,13 @@ extern __pdata int16_t ao_ground_accel;
extern __pdata int16_t ao_min_pres;
extern __pdata uint16_t ao_launch_time;
extern __xdata uint8_t ao_flight_force_idle;
+#ifdef USE_KALMAN
+extern __pdata int16_t ao_ground_height;
+extern __pdata int32_t ao_k_max_height;
+extern __pdata int32_t ao_k_height;
+extern __pdata int32_t ao_k_speed;
+extern __pdata int32_t ao_k_accel;
+#endif
/* Flight thread */
void