TakeOff in guided mode failed randomly

Hey there,

I’m running AC-4.0.4-dev with 4 different vehicles and I can see this issue happens once in a while randomly and I can not figure out why…

I’m trying to takeoff in Guided mode using “MAV_CMD_NAV_TAKEOFF” but I get “MAV_RESULT_FAILED” in return.
The vehicle immediately turning off it’s motors without even hold it in arm state for at least the number of second defined by the parameter.

Does anybody have an idea why this could happen?

Attaching a log that demonstrates this issue with arm and disarm command next.

log

We had similar issue. Seems like nobody is interested to investigate this issue.
Ours happened in resume mission mode. Which it goes to guided mode and we had a failed takeoff