summaryrefslogtreecommitdiff
path: root/altoslib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-05 23:38:05 -0700
committerKeith Packard <keithp@keithp.com>2014-05-08 20:44:10 -0700
commitd2e6efa810b7fccc5af937386a40ae5af064bf26 (patch)
treed8e13b03ad1e04d6d5be4feb153ab349d0585b79 /altoslib
parentd59d6787bfe26c3b18491ece602ad6cc5cf26c42 (diff)
altoslib: Add a comment to remind us to fix the IMU code to deal with calibration
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib')
-rw-r--r--altoslib/AltosIMU.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/altoslib/AltosIMU.java b/altoslib/AltosIMU.java
index 260f3587..99efb76f 100644
--- a/altoslib/AltosIMU.java
+++ b/altoslib/AltosIMU.java
@@ -28,6 +28,18 @@ public class AltosIMU implements Cloneable {
public double gyro_y;
public double gyro_z;
+/*
+ * XXX use ground measurements to adjust values
+
+ public double ground_accel_x;
+ public double ground_accel_y;
+ public double ground_accel_z;
+
+ public double ground_gyro_x;
+ public double ground_gyro_y;
+ public double ground_gyro_z;
+*/
+
public static int counts_per_g = 2048;
public static double convert_accel(int counts) {