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.h
- Revision:
- 7:90f876d47862
- Parent:
- 0:37f0c1e8fa66
- Child:
- 8:609a2ad4c30e
diff -r f258093beed9 -r 90f876d47862 IMU/IMU_10DOF.h --- a/IMU/IMU_10DOF.h Fri Sep 11 10:10:36 2015 +0000 +++ b/IMU/IMU_10DOF.h Mon Sep 14 12:49:08 2015 +0000 @@ -24,9 +24,8 @@ MPU9250 mpu; // The sensor Hardware Driver 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; // | + Timer LoopTimer; // local time to calculate processing speed for entire loop + Timer SensorTimer; // local time to calculate processing speed for just reading sensors IMU_Filter Filter; // Filterclass to join sensor data };