summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromDownload.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-09 22:53:12 -0700
committerKeith Packard <keithp@keithp.com>2011-04-09 22:53:12 -0700
commit7f49d694e776819e03b2c708e1c4ee23ba311430 (patch)
tree9c58c83fd17633b1fb1770dca64cbfec096416b9 /altosui/AltosEepromDownload.java
parent835ab3a8c2741a09b27de58c37439a193c9919ce (diff)
altos/altosui: Log averaged baro sensor data in Tm/Tn
Instead of logging the best height guess from the kalman filter, log barometer data. The logged data consists of the average value betwen log points to reduce noise. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromDownload.java')
-rw-r--r--altosui/AltosEepromDownload.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java
index fad16460..a42f401c 100644
--- a/altosui/AltosEepromDownload.java
+++ b/altosui/AltosEepromDownload.java
@@ -162,7 +162,8 @@ public class AltosEepromDownload implements Runnable {
} else {
if (v != 0xffff)
any_valid = true;
- r = new AltosEepromRecord(Altos.AO_LOG_HEIGHT, tiny_tick, v, 0);
+
+ r = new AltosEepromRecord(Altos.AO_LOG_PRESSURE, tiny_tick, 0, v);
/*
* The flight software records ascent data every 100ms, and descent