From: Keith Packard Date: Tue, 6 May 2014 06:38:05 +0000 (-0700) Subject: altoslib: Add a comment to remind us to fix the IMU code to deal with calibration X-Git-Tag: 1.3.2.2~122 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d2e6efa810b7fccc5af937386a40ae5af064bf26 altoslib: Add a comment to remind us to fix the IMU code to deal with calibration Signed-off-by: Keith Packard --- 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) {