During RTL, drone climbed much higher that it was supposed to

My drone recently had to trigger a failsafe due to a low battery. The intended behaviour was set to RTL at around 6m. However, it kept climbing to around 40m instead. The rest of the RTL execution went flawlessly though, so the only thing that got destroyed were my nerves…

One thing to note is that I tried taking control with the RC when the climbing started, which resulted in a battle between manual override and battery failsafe constantly stealing control from each other. I’m fully aware that this wasn’t the smartest thing to do and that I should just have let the drone do it’s thing, but it still doesn’t explain the climb …at least, not to me.

reviews.px4.io is constantly giving me gateway timeouts since yesterday, so here is the log as dropbox link: Dropbox

Note that we’re using a slightly customized version of px4 that was supplied by the manufacturer of the drone. That’s why the firmware can’t easily be upgraded and is a little outdated.