Some axes start to drift at a constant rate after a while
Describe the bug
When starting a new flight, everything behaves normally. But after a while, suddenly one or more axes start to drift with a constant rate. E.g. the drone rolls to the right at 15.37 deg/s.
Once the drift starts, the only thing I have found to fix it is to disconnect the battery. After reconnecting it, the drift is gone.
Here is the log file and a video of one of the flights: Youtube Video log.zip
At 01:34 the drift started, right when I was below the swing. In the log it is at approx. 38 seconds.
After that, the drone is constantly drifting on the roll axis to the right and on the pitch axis nose down. I am struggling to hold the drone still because I have to compensate for the drift.
At 01:48 I put the right stick back into the center and the drone immediately drifts to the right / nose down (log approx. at second 54).
To Reproduce
Hard to tell how to reproduce. I happens out of nowhere. But I does not happen on every flight. Maybe every 3rd of 4th flight. But the bug only happened after I updated to 2026.6.1 from 2025.12.x.
Expected behavior
When I put the sticks on the radio to the center, the drone should hold its current attitude.
Support ID
dc411691-63af-4b92-b719-eb9f60a7b062Flight controller
Flywoo GOKU H743 Pro Mini Stack 45A 2-6S AM32
Other components
- DJI O4
- BETAFPV 2.4 GHz Nano Rx @ ELRS 4.1.0
How are the different components wired up (including port information)
- DJI O4 on UART8
- BETAFPV 2.4 GHz Nano Rx on UART 2
Add any other context about the problem that you think might be relevant here
I allready reflashed Betaflight (2026.6.1) and reapplied a PID preset. The bug persists.
The flightcontroller has two gyros. I allready activated the gyro diff debug mode, but I cannot see any deviation of the two gyros.
But what I can see in the log is, that after the drift starts, the log has significant gaps. I dont know if the write speed of the flash memory cant keep up!? And I don't know if the gaps in the log are the cause or an effect of the bug.
I also expexted a hardware bug (voltage drop / brownout), but before I updated to 2026.6.1 everything was working fine.
Source: betaflight/betaflight