Matthias Grob
/
FlyBed2
My fully self designed first stable working Quadrocopter Software.
Diff: IMU/IMU_10DOF.h
- Revision:
- 2:03e5f7ab473f
- Parent:
- 0:12950aa67f2a
- Child:
- 4:b0a60b0b24a9
--- a/IMU/IMU_10DOF.h Sun Sep 08 20:53:33 2013 +0000 +++ b/IMU/IMU_10DOF.h Mon Sep 09 20:01:13 2013 +0000 @@ -22,17 +22,18 @@ float pressure; float altitude; - float dt; // local time to calculate processing speed for entire loop and just reading sensors - float dt_sensors; // | - //private: // | - Timer LocalTimer; // | - float time_for_dt; // | - float time_for_dt_sensors; // | + float dt; // time for entire loop + float dt_sensors; // time only to read sensors L3G4200D Gyro; // All sensors Hardwaredrivers ADXL345 Acc; HMC5883 Comp; BMP085 Alt; + + private: + Timer LocalTimer; // local time to calculate processing speed for entire loop and just reading sensors + float time_for_dt; // | + float time_for_dt_sensors; // | IMU_Filter Filter; // Filterclass to join sensor data };