eltonlaw / quadcopter

STM32 flight computer for autonomous quadcopter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: occasional fails to reach super loop

eltonlaw opened this issue · comments

Seeing some behavior where the MPU6050 initialization finishes but then it hangs.

Everytime this bug happens, calibration phase finishes with 0 offsets for accel and gyro all axes. Just saw it read data 3 times before hanging

Resolved by
d641458 Issue seems to come from I2C not being fully ready by the time IMU initialization code started. A retry on the init fixes this.