diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-10 17:27:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-10 17:35:44 -0700 |
commit | 59702e5ff8d0522b0aa9dcca863309eaafbcda09 (patch) | |
tree | c55a101785c8529f81cdb8463b738883a5b0e470 /altoslib/AltosConfigValues.java | |
parent | 6dc58c63d202e918f16d5fbe9b188d422edcdd9c (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 'altoslib/AltosConfigValues.java')
-rw-r--r-- | altoslib/AltosConfigValues.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/altoslib/AltosConfigValues.java b/altoslib/AltosConfigValues.java index 987da53b..3f0a7075 100644 --- a/altoslib/AltosConfigValues.java +++ b/altoslib/AltosConfigValues.java @@ -25,6 +25,8 @@ public interface AltosConfigValues { public abstract void set_serial(int serial); + public abstract void set_altitude_32(int altitude_32); + public abstract void set_main_deploy(int new_main_deploy); public abstract int main_deploy() throws AltosConfigDataException; |