Commit 6f7b485
misseditor: use pymavlink param labels for column headings
When pymavlink exposes <param label="..."> via enum.label[i] (newly emitted
by mavgen_python), prefer that label as the mission-grid column heading.
This finally gives MAV_CMD_DO_SET_CAM_TRIGG_DIST param 1 the proper
"Distance" heading (and ~550 other params across all dialects).
Older pymavlink installs without enum.label keep working: a getattr
fallback drops back to the existing description_map fnmatch heuristic.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f4e1734 commit 6f7b485
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
0 commit comments