
My fully self designed first stable working Quadrocopter Software.
Diff: IMU/Sensors/Comp/HMC5883.h
- Revision:
- 2:03e5f7ab473f
- Parent:
- 0:12950aa67f2a
- Child:
- 4:b0a60b0b24a9
--- a/IMU/Sensors/Comp/HMC5883.h Sun Sep 08 20:53:33 2013 +0000 +++ b/IMU/Sensors/Comp/HMC5883.h Mon Sep 09 20:01:13 2013 +0000 @@ -21,11 +21,11 @@ virtual void read(); // read all axis from register to array data void calibrate(int s); float get_angle(); + + float offset[3]; // calibration offset private: virtual void readraw(); // function to get raw data - - float offset[3]; // calibration offset }; #endif