I just had a rather unfortunate incident involving an RC failsafe triggering while in AUTO, and I wanted to make sure I’m not missing the forest for the trees here, and/or serve as a cautionary tale.
I was running GCS-based operation with a known-good quad (Orange Cube, Copter 4.3.2 beta), with tested radio failsafe (i.e. radio off = prompt RC failsafe - a Frsky DJT module, with a Radiomaster R81 SBus-output receiver). FS_OPTIONS was set to continue in AUTO in the event of an RC failsafe. I still had the RC radio on, with switches set for arm and AUTO and throttle fully lowered, but after each (AUTO) landing/disarm, I’d rearm from the Actions tab in Mission Planner, rather than by cycling the switches on the RC transmitter.
At one point, I lost RC comms (fortunately quite close to the LZ, but at speed and height). The log shows that the receiver switched CH5 to STAB just before the flight controller failsafe kicked in, and since the throttle was fully lowered, the flight controller then proceeded to disarm in mid-flight, rather than continue in AUTO. Needless to say, the results were not good.
I initially assumed that the receiver’s failsafe was the root cause, but watching the outputs in the radio calibration tool, switching the transmitter off did not cause CH5 output to change (nor would the mode change, if I did it when armed in AUTO), so if it was a receiver failsafe event, it couldn’t be replicated by simply turning off the transmitter, which would reliably trip the Ardupilot RC failsafe, as normal.
I then tried to replicate loss of signal by putting the transmitter in a microwave oven (ad-hoc faraday cage) - this also would produce a normal Ardupilot RC failsafe, with no change to the CH5 output, so whatever happened is not easily reproduced - everything I try results in nominal behavior.
Based on a very cursory code review, I can’t see any way that the use of the GCS to arm would affect the RCIN values, so I’m guessing that this isn’t a bug, so much as I just got very unlucky, and had the receiver get a couple garbled frames, just before it triggered the failsafe…? If that is the case, I guess the logical conclusion is that the R81 may be junk, despite passing the usual battery of failsafe checks.
Log for reference:
Regards,
-Luke