Matthias Grob
/
FlyBed2
My fully self designed first stable working Quadrocopter Software.
Diff: IMU/IMU_10DOF.h
- Revision:
- 10:14390c90c3f5
- Parent:
- 4:b0a60b0b24a9
--- a/IMU/IMU_10DOF.h Mon Jul 14 09:06:43 2014 +0000 +++ b/IMU/IMU_10DOF.h Mon Aug 31 20:20:50 2015 +0000 @@ -10,6 +10,7 @@ #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) +//#include "MPU9250.h" // Combined Gyroscope & Accelerometer & Magnetometer over SPI class IMU_10DOF { @@ -26,7 +27,8 @@ float dt; // time for entire loop float dt_sensors; // time only to read sensors - MPU6050 Sensor; // All sensors Hardwaredrivers + //MPU9250 mpu; // All sensors Hardwaredrivers + MPU6050 Sensor; L3G4200D Gyro; ADXL345 Acc; HMC5883 Comp;