MAVLINKHUD

Overview

The DISARM parameter group (specifically DISARM_DELAY) configures the automatic disarming safety feature.

If the vehicle is Armed but the motors are at idle (throttle zero) and the vehicle is not moving (landed), the autopilot will automatically disarm itself after a set timeout. This prevents injury if the pilot approaches the vehicle forgetting it is still live.

Key Concepts

1. Landed State Detection

The timer only starts counting when the autopilot is confident it is Landed. This requires consistent low throttle and low accelerometer variance.

2. Delay Timer

  • DISARM_DELAY: Time in seconds.
    • 0: Disabled (Will never auto-disarm).
    • 10 (Default): Disarms after 10 seconds of idle on the ground.

Parameter Breakdown

  • DISARM_DELAY: Timeout (seconds).

Integration Guide

  • Safety: Keep this enabled (10s or 15s) for all vehicles.
  • Exception: For long-endurance loiter on the ground (e.g., waiting for GPS), you might disable it, but use the Safety Switch instead.

Developer Notes

  • Vehicle: All (Copter, Plane, Rover).
  • Logic: Managed by the AP_Motors or vehicle main loop.

DISARM_DELAY

s
Default 10
Range 0 127

Disarm delay (DISARM_DELAY)

Description

Defines the period of inactivity (typically at zero throttle and landed) after which the flight controller will automatically disarm the motors for safety.

Tuning & Behavior

  • Default Value: 10 s (Typical)
  • Range: 0 to 127 s
  • Setting to 0 disables the auto-disarm feature.