I’ve been testing DIY control systems so I had be prepared for possible failures. A good way to do that is to configure auto landings for your plane. Best to make a test airframe for flight testing and working out the auto landing settings.
Configure the flight controller to continue the mission if it has a failsafe event. Have the flight controller detect failsafe with both the throttle and GCS failsafe options.
At the end of the mission is the auto landing, so if you never get control back at least you’ll get the plane and your mapping data back.
Towards the end of the mission you can check to see if you have regained control by momentarily switching to manual flight mode. If it responds, good. If it doesn’t it will remain in failsafe, complete the mission and land nearby.
I attached notes from my auto landing tests.
arduplane-autolanding-v1.pdf (804.0 KB)