altoslib: Add a comment to remind us to fix the IMU code to deal with calibration
authorKeith Packard <keithp@keithp.com>
Tue, 6 May 2014 06:38:05 +0000 (23:38 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 9 May 2014 03:44:10 +0000 (20:44 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosIMU.java

index 260f35876aff359df7e49ae12edff4ea4fa9217a..99efb76f198f5d12f93af9e9ee8ae16028b69b4d 100644 (file)
@@ -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) {