summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-06-11 22:50:57 -0700
committerKeith Packard <keithp@keithp.com>2017-06-11 22:54:23 -0700
commit03ec3e4c2247b6520c728b34805ad500be547a25 (patch)
treedad1c13c24b2986825fb592ca47eff30b70d9e49
parent97b42b7cd676232f13354798726f3087fa7177d5 (diff)
altoslib: Remove unused 'ground_rotation' from AltosState
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altoslib/AltosState.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/altoslib/AltosState.java b/altoslib/AltosState.java
index caa1cb4a..036c1652 100644
--- a/altoslib/AltosState.java
+++ b/altoslib/AltosState.java
@@ -749,7 +749,6 @@ public class AltosState extends AltosDataListener {
imu = null;
last_imu_time = AltosLib.MISSING;
rotation = null;
- ground_rotation = null;
mag = null;
@@ -897,7 +896,6 @@ public class AltosState extends AltosDataListener {
public AltosRotation rotation;
- public AltosRotation ground_rotation;
public double accel_ground_along, accel_ground_across, accel_ground_through;
@@ -907,7 +905,6 @@ public class AltosState extends AltosDataListener {
AltosIMU.convert_accel(accel_ground_through - cal_data.accel_zero_through),
AltosIMU.convert_accel(accel_ground_along - cal_data.accel_zero_along),
cal_data.pad_orientation);
- ground_rotation = rotation;
orient.set_computed(rotation.tilt(), time);
}
}