summaryrefslogtreecommitdiff
path: root/altosui/AltosDataPoint.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-21 16:13:14 -0700
committerKeith Packard <keithp@keithp.com>2012-10-21 16:13:14 -0700
commit7894c27b2b2c3c46a7c107c8acd5977830f006cf (patch)
treef05c9d5c6bc06c1764118d1f5596a95f0016178d /altosui/AltosDataPoint.java
parentdec2e455935a71dec13b84bb886252b7f4a1a641 (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/AltosDataPoint.java')
-rw-r--r--altosui/AltosDataPoint.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/altosui/AltosDataPoint.java b/altosui/AltosDataPoint.java
index 5e077320..4956e9f3 100644
--- a/altosui/AltosDataPoint.java
+++ b/altosui/AltosDataPoint.java
@@ -16,11 +16,8 @@ interface AltosDataPoint {
String state_name();
double acceleration();
- double pressure();
- double altitude();
double height();
- double accel_speed();
- double baro_speed();
+ double speed();
double temperature();
double battery_voltage();
double drogue_voltage();