Rover supports three failsafe mechanisms as described below.
Radio Failsafe (aka Throttle Failsafe)¶
This failsafe is triggered if the connection between the user’s transmitter and the receiver on the vehicle is lost for at least FS_TIMEOUT seconds.
the loss of transmitter/receiver connection is detected by:
no signals being sent from the receiver to the autopilot board OR
the throttle channel (normally input channel 3) value falling below the FS_THR_VALUE parameter value
set FS_THR_ENABLE to “1” to enable this failsafe
if FS_ACTION is “1”, the vehicle will RTL to home, if “2” the vehicle will Hold, if “3” or “4” the vehicle will attempt to use SmartRTL but if this mode cannot be engaged the vehicle will RTL or Hold respectively.
once the transmitter/receiver connection is restored, the user must use the transmitter’s mode switch to re-take control of the vehicle in Manual (or any other mode)
This failsafe requires the vehicle have a working Power Module.
ArduPilot firmware versions 4.0 and later support up to 10 batteries/power monitors. All the discussion below applies to those optional batteries also. Each can trigger a failsafe and each can have different actions and setup values. In addition, a group of batteries can be treated as a single unit, see
BATTx_MONITOR = 10.
When the failsafe will trigger¶
If enabled and set-up correctly the battery failsafe will trigger if the main battery’s
voltage drops below the voltage held in the BATT_LOW_VOLT parameter (or FS_BATT_VOLTAGE in older versions) for more than 10 seconds. If set to zero (the default value) the voltage based trigger will be disabled.
remaining capacity falls below the BATT_LOW_MAH parameter (or FS_BATT_MAH in older versions) 20% of the battery’s full capacity is a good choice (i.e. “1000” for a 5000mAh battery). If set to zero (the default) the capacity based trigger will be disabled (i.e. only voltage will be used)
What will happen¶
When the failsafe is triggered:
Buzzer will play a loud low-battery alarm
LEDs will flash yellow
A warning message will be displayed on the ground station’s HUD (if telemetry is connected)
BATT_FS_LOW_ACT configures the failsafe action to take. “0” to take no action (default), “1” to change into RTL, “2” to change to Hold, if “3” or “4” the vehicle will attempt to use SmartRTL but if this mode cannot be engaged the vehicle will RTL or Hold respectively. “5” will disarm the vehicle.
Two-Stage Battery Failsafe¶
Rover also includes a two-layer battery failsafe. This allows setting up a follow-up action if the battery voltage or remaining capacity falls below an even lower threshold.
BATT_CRT_VOLT - holds the secondary (lower) voltage threshold. Set to zero to disable. Default is zero.
BATT_CRT_MAH - holds the secondary (lower) capacity threshold. Set to zero to disable. Default is zero.
Advanced Battery Failsafe Settings¶
GCS Failsafe (aka Telemetry Failsafe)¶
set FS_GCS_ENABLE to “1” to enable this failsafe
you must use the transmitter’s mode switch to re-take control of the vehicle in Manual (or any other mode), or change modes via the GCS iself, if communication is re-established.
If enabled by setting the FS_CRASH_CHECK parameter to “1” (for Hold) or “2” (for Hold and Disarm) this failsafe will switch the vehicle to Hold and then (optionally) disarm the vehicle if all the following are true for at least 2 seconds:
Hold Mode Failsafes¶
The FS_OPTIONS bitmask parameter determines if failsafes will be recognized while in HOLD Mode. If bit 0 is set, then failsafes will be recognized and acted upon. If not, failsafes will be ignored in HOLD mode (default).