MAVLINKHUD

Overview

The PARAM parameter group (specifically PARAM1...PARAM3) provides generic placeholders for Custom Control backends.

Key Concepts

1. Extensibility

To support developers who are writing custom C++ algorithms or Lua scripts, ArduPilot provides these generic floating-point parameters. This allows a developer to expose tunable gains or thresholds to the Ground Control Station without having to modify the core parameter definitions or recompile the entire firmware.

Developer Notes

  • Library: libraries/AC_CustomControl.
  • Usage: Only relevant if a custom backend (CC_TYPE > 0) is active.

PARAM2: Empty param2

Description

Dummy parameter for empty custom controller backend.

Values

  • Default: 0.0

Description

This parameter is a placeholder reserved for use by the Empty Custom Controller backend.

  • Purpose: ArduPilot allows developers to implement custom attitude control logic in C++ or Lua. This parameter provides a configurable float value that can be read by that custom logic (e.g., as a gain or threshold) without needing to recompile the main code to add new parameters.
  • Normal Operation: If you are not using a custom controller backend, this parameter has no effect.

PARAM3: Empty param3

Description

Dummy parameter for empty custom controller backend.

Values

  • Default: 0.0

Description

This parameter is a placeholder reserved for use by the Empty Custom Controller backend.

  • Purpose: ArduPilot allows developers to implement custom attitude control logic in C++ or Lua. This parameter provides a configurable float value that can be read by that custom logic (e.g., as a gain or threshold) without needing to recompile the main code to add new parameters.
  • Normal Operation: If you are not using a custom controller backend, this parameter has no effect.