summaryrefslogtreecommitdiff
path: root/altosui
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-10 17:27:43 -0700
committerKeith Packard <keithp@keithp.com>2014-07-10 17:35:44 -0700
commit59702e5ff8d0522b0aa9dcca863309eaafbcda09 (patch)
treec55a101785c8529f81cdb8463b738883a5b0e470 /altosui
parent6dc58c63d202e918f16d5fbe9b188d422edcdd9c (diff)
altoslib: Extend telemetry heights from 16 to 32 bits
Uses the GPS data and/or previous kalman data to compute the upper 16 bits of the truncated telemetry altitude value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r--altosui/AltosConfigUI.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/altosui/AltosConfigUI.java b/altosui/AltosConfigUI.java
index 043cb876..9fcace61 100644
--- a/altosui/AltosConfigUI.java
+++ b/altosui/AltosConfigUI.java
@@ -926,6 +926,9 @@ public class AltosConfigUI
serial_value.setText(String.format("%d", serial));
}
+ public void set_altitude_32(int altitude_32) {
+ }
+
public void set_main_deploy(int new_main_deploy) {
main_deploy_value.setSelectedItem(AltosConvert.height.say(new_main_deploy));
main_deploy_value.setEnabled(new_main_deploy >= 0);