diff options
author | Keith Packard <keithp@keithp.com> | 2014-08-17 20:54:44 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-08-17 20:54:44 -0700 |
commit | 629b29b2718c174be9c811f224d0acf73fba4aff (patch) | |
tree | 8e697b7d05945dc5ce0ab8d780d6a35a0a28c671 /altoslib/AltosTelemetry.java | |
parent | ef1dd370564b99da033109f2fb5f7bf29711a13f (diff) |
altoslib: Remove some debug printfs
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetry.java')
-rw-r--r-- | altoslib/AltosTelemetry.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/altoslib/AltosTelemetry.java b/altoslib/AltosTelemetry.java index 2f15cd89..a123d752 100644 --- a/altoslib/AltosTelemetry.java +++ b/altoslib/AltosTelemetry.java @@ -118,8 +118,6 @@ public abstract class AltosTelemetry implements AltosStateUpdate { double compare_height; int height = height_16; - System.out.printf("state kalman height %g altitude %g ground_altitude %g gps_height %g\n", - state.kalman_height.value(), state.altitude(), state.ground_altitude(), state.gps_height()); if (state.gps != null && state.gps.alt != AltosLib.MISSING) { compare_height = state.gps_height(); } else { @@ -135,10 +133,6 @@ public abstract class AltosTelemetry implements AltosStateUpdate { height += 65536; else if (Math.abs(height - 65536 - compare_height) < Math.abs(height - compare_height)) height -= 65536; - if (height != height_16) { - System.out.printf("Height adjusted from %d to %d with %g\n", - height_16, height, compare_height); - } } return height; } |