Successful acro and level mode now! Relying on MPU9250 as base sensor. I'm working continuously on tuning and features :) NEWEST VERSION ON: https://github.com/MaEtUgR/FlyBed (CODE 100% compatible/copyable)
Diff: IMU/IMU_10DOF.cpp
- Revision:
- 1:60882db03b0f
- Parent:
- 0:37f0c1e8fa66
- Child:
- 7:90f876d47862
diff -r 37f0c1e8fa66 -r 60882db03b0f IMU/IMU_10DOF.cpp --- a/IMU/IMU_10DOF.cpp Tue Sep 08 13:38:10 2015 +0000 +++ b/IMU/IMU_10DOF.cpp Wed Sep 09 09:58:41 2015 +0000 @@ -15,8 +15,8 @@ void IMU_10DOF::readAngles() { time_for_dt_sensors = LocalTimer.read(); // start time for measuring sensors - //mpu.readGyro(); // reading sensor data - //mpu.readAcc(); + mpu.readGyro(); // reading sensor data + mpu.readAcc(); dt_sensors = LocalTimer.read() - time_for_dt_sensors; // stop time for measuring sensors // meassure dt since last measurement for the filter