Skip to content

mavlink: use the 'all' dialect everywhere instead of ardupilotmega#39

Merged
tridge merged 1 commit into
ArduPilot:mainfrom
tridge:pr-dialect-all
May 24, 2026
Merged

mavlink: use the 'all' dialect everywhere instead of ardupilotmega#39
tridge merged 1 commit into
ArduPilot:mainfrom
tridge:pr-dialect-all

Conversation

@tridge
Copy link
Copy Markdown
Contributor

@tridge tridge commented May 24, 2026

binlog.cpp included the ardupilotmega dialect header while the rest of the proxy (mavlink_msgs.h) already used the 'all' dialect. Switch binlog.cpp and the pytest harness over to 'all' so a single dialect is used throughout: the include in binlog.cpp, the MAVLINK_DIALECT env var in the test modules, and the pymavlink dialect imports in test_binlog_capture.py.

MAV_AUTOPILOT_ARDUPILOTMEGA references are left as-is: that's an autopilot-type enum constant present in the 'all' dialect, not a dialect selection.

binlog.cpp included the ardupilotmega dialect header while the rest of
the proxy (mavlink_msgs.h) already used the 'all' dialect. Switch
binlog.cpp and the pytest harness over to 'all' so a single dialect is
used throughout: the include in binlog.cpp, the MAVLINK_DIALECT env var
in the test modules, and the pymavlink dialect imports in
test_binlog_capture.py.

MAV_AUTOPILOT_ARDUPILOTMEGA references are left as-is: that's an
autopilot-type enum constant present in the 'all' dialect, not a
dialect selection.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tridge tridge merged commit 13ea8e5 into ArduPilot:main May 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant