iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.18k stars 1.48k forks source link

6-point accelerometer calibration broken in 1.9-RC1 #2806

Closed furiousfpv closed 6 years ago

furiousfpv commented 6 years ago

I'm using F35 with MPU9250 sensor in fw 1.9, after finish 6 steps, my board can not level.

screen shot 2018-02-21 at 3 09 48 pm

When i use FF_WING fw 1.8 and do calib in 6 step, it worked great, board can level. Can you help me check again with calib process in MPU9250 sensor?

screen shot 2018-02-21 at 3 37 30 pm
digitalentity commented 6 years ago

Will test. Are you using the Configurator 1.9.1 ?

furiousfpv commented 6 years ago

In fw 1.9, i used 1.9.1 In fw 1.8, i used 1.8

digitalentity commented 6 years ago

Ack. Will test and get back to you ASAP

furiousfpv commented 6 years ago

My customers have same issue with calib process, https://drive.google.com/open?id=1-L-KMOah_carw_SIp7FWPumnAZh25kmh

Thank you so much @digitalentity

digitalentity commented 6 years ago

@furiousfpv try doing a full erase when flashing 1.9. Helped in my case.

furiousfpv commented 6 years ago

@digitalentity Yes, i tried many time with full erase. Same problem.

furiousfpv commented 6 years ago

@digitalentity BTW, i tried with FF_FORTINIF4 worked great with 6 steps calib. Board can level and all axis are good. FortiniF4 use MPU6500 library.

brat002 commented 6 years ago

I don't really know if the bug is similar, but my friend also got an very strange behaviour last week https://youtu.be/ZQlX_PnT1fE?t=36. Horizon started to behave like crazy. We seen that at least 3 times during 2 weeks.

Matek f405-ctr Inav 1.8.1

digitalentity commented 6 years ago

Bug confirmed. Some other boards seem to be affected as well.

digitalentity commented 6 years ago

Found a bug. Fix pending.

furiousfpv commented 6 years ago

So cool, Can you give me target file of F35 for test? @digitalentity

digitalentity commented 6 years ago

@furiousfpv sure, once I make a proper fix

furiousfpv commented 6 years ago

Can you finish today?

digitalentity commented 6 years ago

@furiousfpv hex for testing inav_1.9.0_FF_F35_LIGHTNING.zip

furiousfpv commented 6 years ago
screen shot 2018-02-22 at 1 20 34 pm

It worked great @digitalentity . Thank you so much.

digitalentity commented 6 years ago

Good to hear! Fixed.