Modified getOffset for calibrating Thermal Drift coefficients.

Dependents:   9Dof_unit_testing

Fork of ITG3200 by James Watanabe

Modified to make getOffset() function easier to use.

Revision:
6:a7ad6046824c
Parent:
5:0a0315f0f34e
Child:
7:43b936a53b64
--- a/ITG3200.h	Wed Sep 12 22:56:04 2012 +0000
+++ b/ITG3200.h	Thu Sep 13 14:36:13 2012 +0000
@@ -391,6 +391,10 @@
      *             correction quality.
      */
     void calibrate(double time);
+    
+    long getCalibrationSamples()const{
+        return calibSamples;
+    }
 
 protected:
 
@@ -420,6 +424,8 @@
      * TODO: temperature drift calibration
      */
     int offset[3];
+    
+    long calibSamples;
 
 private: