MAVLINKHUD

Overview

The DID parameter group configures the Remote ID (OpenDroneID) subsystem. This is required for compliance with FAA (USA), EASA (Europe), and other CAA regulations regarding UAV identification.

Remote ID systems broadcast the drone's position, altitude, velocity, and serial number over Bluetooth/Wi-Fi to local receivers (like smartphones).

Key Concepts

1. ODID Hardware

ArduPilot supports communicating with external Remote ID modules (like CubeID, Bluemark, Holybro) via MAVLink (DID_MAVPORT) or CAN (DID_CANDRIVER).

2. Data Source

The autopilot feeds the ODID module with live GPS and telemetry data. The module then handles the BLE/WiFi broadcasting.

Parameter Breakdown

  • DID_ENABLE: Master switch.
  • DID_MAVPORT: Serial port connected to the ODID module (if using Serial).
  • DID_CANDRIVER: CAN driver connected to the ODID module (if using CAN).
  • DID_OPTIONS: Configuration flags.

Integration Guide

  1. Hardware: Connect the Remote ID module to a Telemetry port or CAN bus.
  2. Enable: Set DID_ENABLE = 1.
  3. Port: If Serial, set DID_MAVPORT to the serial port index (e.g., 2 for Serial2). Ensure SERIAL2_PROTOCOL is set to MAVLink 2.
  4. Verify: Check GCS for "OpenDroneID" status messages.

Developer Notes

  • Library: libraries/AP_OpenDroneID
  • Protocol: Uses the OpenDroneID MAVLink extension.

DID_BARO_ACC

m
Default -1.0

Barometer vertical accuracy (DID_BARO_ACC)

Description

Specifies the vertical position error (accuracy) of the barometer for Remote ID reporting.

  • -1.0 (default) disables reporting this metric.

DID_CANDRIVER

Default 0
Range 0 2

DroneCAN driver number (DID_CANDRIVER)

Description

Selects which CAN driver instance should be used to transmit Remote ID data to a DroneCAN-capable transponder.

DID_ENABLE

Default 0
Range 0 1

Enable ODID subsystem (DID_ENABLE)

Description

Master switch for OpenDroneID (Remote ID) functionality. Enables compliance with broadcast ID regulations.

Tuning & Behavior

  • Default Value: 0 (Disabled)
  • Requires reboot to take effect.

DID_MAVPORT

Default -1
Range -1 6

MAVLink serial port (DID_MAVPORT)

Description

Specifies the physical serial port connected to the Remote ID broadcast hardware (transponder).

  • -1 disables serial output (e.g., if using DroneCAN).

DID_OPTIONS

Default 0

OpenDroneID options (DID_OPTIONS)

Description

Configuration bitmask for Remote ID enforcement and identity locking.

Tuning & Behavior

  • Default Value: 0
  • Bitmask:
    • Bit 0: EnforceArming (Refuse to arm if Remote ID is not healthy)
    • Bit 1: AllowNonGPSPosition
    • Bit 2: LockUASIDOnFirstBasicIDRx