MAVLINKHUD

Overview

The DRV parameter group (specifically DRV_OPTIONS or GPS_DRV_OPTIONS) provides a mechanism to enable experimental features or workarounds for specific hardware drivers (primarily GPS).

Key Concepts

1. Driver-Specific Flags

The meaning of the bits depends heavily on the specific GPS driver being used (u-Blox, SBP, NMEA).

  • Examples: Enable/Disable specific NMEA messages, change baud rate negotiation, or enable experimental constellations (Galileo/BeiDou) if the driver doesn't support a dedicated parameter for it.

Parameter Breakdown

  • DRV_OPTIONS: Bitmask.

Integration Guide

  • Documentation: Refer to the full parameter list for your specific firmware version to see what the bits do. It changes frequently.

Developer Notes

  • Library: libraries/AP_GPS
  • Scope: Used inside AP_GPS_uBlox.cpp, etc.

DRV_OPTIONS

Default 0

GPS Driver Options (DRV_OPTIONS)

Description

Bitmask for configuring driver-specific GPS behaviors, such as enabling specific NMEA sentences or handling hardware-level timing.

Tuning & Behavior

  • Default Value: 0
  • Bitmask Examples:
    • Bit 0: Use GPS_DRV_OPTIONS bit 0 (varies by backend)