Skip to content

Fixes for MAVLink 1.0 support - #1759

Merged
peterbarker merged 2 commits into
ArduPilot:masterfrom
peterbarker:pr/mav10-commands
Sep 19, 2026
Merged

peterbarker merged 2 commits into
ArduPilot:masterfrom
peterbarker:pr/mav10-commands

Conversation

@peterbarker

Copy link
Copy Markdown
Contributor

Need to make sure messages are in the dialect

Fix method-on-None bug in waypoint module

commands() returned None when the link was MAVLink1, but all callers
(completions(), usage(), cmd_wp() and the wp/rally/fence overrides)
expect a dict, so loading the wp module threw AttributeError on
startup.  Always return the command map and refuse the commands in
cmd_wp() instead.
FLIGHT_INFORMATION (id 264) is not in MAVLink1 dialects, so with
--mav10 the probe threw AttributeError on the first packet received.
Mark the message as unsupported instead.

@gmorph gmorph left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on my system where this was failing and its now passing. Thanks Peter!

@peterbarker
peterbarker merged commit c16144f into ArduPilot:master Sep 19, 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.

2 participants