Matthias Grob
/
FlyBed2
My fully self designed first stable working Quadrocopter Software.
Diff: IMU/IMU_10DOF.h
- Revision:
- 4:b0a60b0b24a9
- Parent:
- 2:03e5f7ab473f
- Child:
- 10:14390c90c3f5
--- a/IMU/IMU_10DOF.h Tue Sep 24 15:15:39 2013 +0000 +++ b/IMU/IMU_10DOF.h Sat Feb 15 14:28:11 2014 +0000 @@ -8,6 +8,7 @@ #include "ADXL345.h" // Acc (Accelerometer) #include "HMC5883.h" // Comp (Compass) #include "BMP085.h" // Alt (Altitude sensor or Barometer) +#include "MPU6050.h" // Combined Gyroscope & Accelerometer #include "IMU_Filter.h" // Class to calculate position angles (algorithm from S.O.H. Madgwick, see header file for info) class IMU_10DOF @@ -25,7 +26,8 @@ float dt; // time for entire loop float dt_sensors; // time only to read sensors - L3G4200D Gyro; // All sensors Hardwaredrivers + MPU6050 Sensor; // All sensors Hardwaredrivers + L3G4200D Gyro; ADXL345 Acc; HMC5883 Comp; BMP085 Alt;