Mavlink fail safe report

Is there a specific message that reports the cause of a failsafe?


AFAIK, just the Text message, send by FC.

1 Like

Where can I find the exact text in these messages so I can parse the text and recognize each cause?

you can use the by looking at onboard_control_sensors_health or EKF flags, they will gives you a good idea of what is wrong !

Ardupilot source code. Look for gcs().send_text(MAV_SEVERITY_CRITICAL,xxxxxx) lines.

Please be aware that these text messages are not considered stable.

Mechanically parsing them pay lead to heartbreak.

As @khancyr points out, we do emit several messages with failsafe
information in them.