-
Notifications
You must be signed in to change notification settings - Fork 12
Add options/enum selector for parameters with enumerated values #76
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Parameters that have enumerated/discrete values (e.g., SERVO_DSHOT_ESC with values 1-4, ARMING_CHECK, SERVO_DSHOT_RATE) currently display only the raw numeric value. Users cannot tell what each value represents without consulting external documentation.
Similar to how Bitmask parameters already have a dedicated "Bitmask" button and editor, parameters with enumerated options should have an "Options" dropdown or selector that shows the human-readable label for each value.
Examples
SERVO_DSHOT_ESC: value1should show asDShot150,2asDShot300, etc.SERVO_DSHOT_RATE: value4- user cannot determine what rate this corresponds toARMING_CHECK: value1shows as raw number, but description says "add values: 1=all, 2=barometer, 4=compass, etc."
Expected Behavior
- Parameters with enumerated values should display an options dropdown (similar to the existing Bitmask button)
- The dropdown should show the human-readable label for each valid value
- ArduPilot parameter metadata already includes
Valuesfields that map numeric values to labels - these should be used to populate the selector
Related
- Show default values and units in All Parameters view #32 - Show default values and units (complementary but separate feature)
Source
Feature request from Discord community feedback (nicojanssens, YupsUAV)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Backlog