I made some tests of GCS failsafe with my plane to see what happen in that case. I set up the following parameters before :
GCS_FS_ENABL = 1
FS_SHORT_ACTN : 1 (circle)
FS_SHORT_TIMEOUT : 3
FS_LONG_ACTN : 1 (RTL)
FS_LONG_TIMOUT : 60
I expected my plane was going to perform circle during 60 seconds do an RTL procedure. This perfectly worked in FBWA mode but never during a Mission.
I am very surprised to see that whatever the settings, nothing stops the aircraft when it is on a mission even though GCS_FS_ENABL = 1
Do you have an idea of what is going wrong. I can not believe that there no any action taken during a mission in case of GCS failsafe.
Yes you are right. It is because I made some tests to check that it was working.
The parameters were these one instead of the one I said before (see on the picture).
The test plan was this one :
Start the mission
Unplug telemetry module during 40seconds
Plug it again if the aircraft don’t follow the GCS failsafe procedure (Circle during 30 seconds then RTL)
In auto mode, the aicraft always finished its flight plan and made an RTL, but it has never follow the FS_SHORT_ACTN and FS_LONG_ACTN.
After the failsafe long event on, flight mode = 11 which means that plane mode rtl.
Before you take the control in CRUISE mode at 12:05:45, the vehicle is in RTL mode from 12:01:31 for 4 minutes.
What is the thing that you want exactly? FS_SHORT_ACTN=1 cannot overwrite the current flight mode in AUTO as said in the wiki, when FS_LONG_ACTN=1 occurred 30 seconds later and your vehicle LOITERed centered at the home location.
Seems like you misunderstood the failsafe procedure, I recommend you to read this.
By your setup this is actually happening:
You closed the GCS.
(5 seconds later FS_SHORT_ACTN occurred) Nothing happened because FS_SHORT_ACTN=1 means no change in AUTO.
(30 seconds later FS_LONG_ACTN occurred) Flight mode changed to RTL, the vehicle traveled to the home location and started to loiter. Your RTL_RADIUS=250 meters and ALT_HOLD_RTL=10000 which is 100 meters. You are flying above this altitude so no change in altitude during RTL.
Am I missing something?
Seems like RTL worked.
Edit: FS_SHORT_ACTN = 1 should overwrite the AUTO mode with CIRCLE mode but seems that has no effect in AUTO mode (produced the same behavior with Mission Planner SITL ArduPlane V4.2.0dev (8b46ab66)).