We discovered something today running a ground test, we were able to arm the drone in loiter mode when the GPS has not RTK fixed (status 6). Usually, it does not let us arm since when the base F9 GPS is not in status 6 there is no yaw correction. The sequence of steps we followed was:
Let the drone get RTK fixed without arming.
Cover one of the GPS, the base, for making it lose RTK fixed.
Try to arm.
We did it a couple times and we were able to arm in the second try as shown below (CH7 is our arm/disarm):
We actually saw this behavior in 4.0.7 version previous to a flight, so we ran the ground test wondering if it also can happen in 4.1 version. It seems to be the case. Please find the log below:
Thanks for the report. Definitely if we are using GPS-for-yaw and the GPS has never reported a good heading an arming check should trigger. It is a little less clear in the case of a temporary loss of GPS yaw because gyros can be used to keep the yaw valid for quite some time in many cases.
@sbaccam I’ve opened a PR with an arming check for yaw being available within the last 15s:
I’d also note that you have GPS_AUTO_SWITCH=0 and GPS_PRIMARY=0. I suggest changing that GPS_AUTO_SWITCH=1 so the beta6 firmware can use the moving baseline RTK base GPS (2nd GPS) as the primary, which is the right thing to do for beta6