diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-21 16:13:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-21 16:13:14 -0700 |
commit | 7894c27b2b2c3c46a7c107c8acd5977830f006cf (patch) | |
tree | f05c9d5c6bc06c1764118d1f5596a95f0016178d /altosui/AltosKML.java | |
parent | dec2e455935a71dec13b84bb886252b7f4a1a641 (diff) |
altoslib: Move computed state from AltosRecord to AltosState
Make AltosRecord simply track the raw data and have AltosState hold
all computed values, including cross-packet averages and computed speeds.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosKML.java')
-rw-r--r-- | altosui/AltosKML.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosKML.java b/altosui/AltosKML.java index 57339b19..281638bf 100644 --- a/altosui/AltosKML.java +++ b/altosui/AltosKML.java @@ -109,7 +109,7 @@ public class AltosKML implements AltosWriter { AltosGPS gps = record.gps; out.printf(kml_coord_fmt, gps.lon, gps.lat, - record.filtered_altitude(), (double) gps.alt, + record.altitude(), (double) gps.alt, record.time, gps.nsat); } |