projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d59d678
)
altoslib: Add a comment to remind us to fix the IMU code to deal with calibration
author
Keith Packard
<keithp@keithp.com>
Tue, 6 May 2014 06:38:05 +0000
(23:38 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/altoslib/AltosIMU.java
b/altoslib/AltosIMU.java
index 260f35876aff359df7e49ae12edff4ea4fa9217a..99efb76f198f5d12f93af9e9ee8ae16028b69b4d 100644
(file)
--- 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) {