diff options
| author | Keith Packard <keithp@keithp.com> | 2010-09-27 17:11:48 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-09-27 17:11:48 -0700 |
| commit | c89a34d1eb25155405b0036baeadc7bbfeade1c2 (patch) | |
| tree | 1329c7c89b3d6a182fb68ec8f00c37a6104f5ab9 /ao-tools/altosui/AltosRecord.java | |
| parent | e66919aa46193bd8c7a1e86fb32a3367dae121f5 (diff) | |
altosui: Create iterables for log file scanning. Split out display threads
Convert from log file reading paradigm to using iterators which is
more idiomatic for java. Split more code out of AltosUI.java,
including the display update threads for telemetry monitoring and
logfile replay.x
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosRecord.java')
| -rw-r--r-- | ao-tools/altosui/AltosRecord.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosRecord.java b/ao-tools/altosui/AltosRecord.java index 18c6079d..00484767 100644 --- a/ao-tools/altosui/AltosRecord.java +++ b/ao-tools/altosui/AltosRecord.java @@ -142,7 +142,7 @@ public class AltosRecord { return counts_per_g / 9.80665; } public double acceleration() { - return (accel_plus_g - accel) / accel_counts_per_mss(); + return (ground_accel - accel) / accel_counts_per_mss(); } public double accel_speed() { |
