diff options
| author | Keith Packard <keithp@keithp.com> | 2012-06-01 19:51:25 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-06-01 19:51:25 -0700 |
| commit | 1824761f5b98e92485e2dd347b1c4d043ec207e2 (patch) | |
| tree | 9c84ad0d7b4007ce668b901091695fc4ddbebd5e /altosui/AltosState.java | |
| parent | ab85337aa942cb73a08bd3b783771179773b9a67 (diff) | |
altosui: Quick hacks to download megametrum data and convert to CSV
Very little useful data crunching is done, but at least we can save
and convert files
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosState.java')
| -rw-r--r-- | altosui/AltosState.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/altosui/AltosState.java b/altosui/AltosState.java index da498bc1..9c6f85eb 100644 --- a/altosui/AltosState.java +++ b/altosui/AltosState.java @@ -54,6 +54,9 @@ public class AltosState { AltosGPS gps; + AltosIMU imu; + AltosMag mag; + double pad_lat; double pad_lon; double pad_alt; @@ -107,6 +110,8 @@ public class AltosState { max_acceleration = prev_state.max_acceleration; max_speed = prev_state.max_speed; max_baro_speed = prev_state.max_baro_speed; + imu = prev_state.imu; + mag = prev_state.mag; /* make sure the clock is monotonic */ while (tick < prev_state.tick) |
