altoslib: Don't smash existing GPS pad alt after boost
[fw/altos] / altoslib / AltosTelemetryRecordMegaData.java
index 8f55d238a3bae3689b96c7b816b8fac4efc731e3..98b9f4c5e435747299824d71f2572719b9822a77 100644 (file)
@@ -83,11 +83,11 @@ public class AltosTelemetryRecordMegaData extends AltosTelemetryRecordRaw {
                next.accel_plus_g = accel_plus_g;
                next.accel_minus_g = accel_minus_g;
 
-               next.acceleration = acceleration / 16.0;
-               next.speed = speed / 16.0;
-               next.height = height;
+               next.kalman_acceleration = acceleration / 16.0;
+               next.kalman_speed = speed / 16.0;
+               next.kalman_height = height;
 
-               next.seen |= AltosRecord.seen_flight | AltosRecord.seen_temp_volt;
+               next.seen |= AltosRecord.seen_sensor | AltosRecord.seen_temp_volt;
 
                return next;
        }