JanWielgus / STM_FlightController

0 stars 0 forks source link

Gyro calibration bug #9

Closed JanWielgus closed 5 years ago

JanWielgus commented 5 years ago

Gyro calibration will only work at the first use. When used for the second time, it will include the old calibration values in new readings and overwrite them in the end of the calibration.

JanWielgus commented 5 years ago

To solve that problem try to add old calibration values to the new ones after completing the calibration. Otherwise (if this won't solve the problem), ignore calibration values when getting new data from the sensor during the calibration.

JanWielgus commented 5 years ago

Solved just by adding new calibration values to old ones at the end of calibration process