altoslib: Move computed state from AltosRecord to AltosState
[fw/altos] / altoslib / AltosTelemetryRecordMegaData.java
index 8f55d238a3bae3689b96c7b816b8fac4efc731e3..16a7b80cc0f037a12e1cfc62c3f18c2a8982820a 100644 (file)
@@ -83,9 +83,9 @@ 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;