diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-22 05:42:51 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-22 05:42:51 +0900 |
commit | 7b009b2efe3af8722c358c304c2243652594e0d5 (patch) | |
tree | 94e196faeaa24504b534d7ab0363a28489216b21 /src/ao_report.c | |
parent | 20427ae4965f756aac0cedc5179a1c45b9a781f2 (diff) |
altos: Switch telemetrum over to kalman filter
This changes the full telemetry stream to include kalman data instead
of the old ad-hoc flight data. It's compatible in that the packet
sizes are the same so teledongle can receive either and figure out
which it has received.
A few plotting and testing tools are added to make validating the new
code easier.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_report.c')
-rw-r--r-- | src/ao_report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_report.c b/src/ao_report.c index 3223390f..4f7fd657 100644 --- a/src/ao_report.c +++ b/src/ao_report.c @@ -87,7 +87,7 @@ ao_report_digit(uint8_t digit) __reentrant static void ao_report_altitude(void) { - __xdata int16_t agl = ao_pres_to_altitude(ao_min_pres) - ao_pres_to_altitude(ao_ground_pres); + __xdata int16_t agl = ao_max_height; __xdata uint8_t digits[10]; __xdata uint8_t ndigits, i; |