Skip to content

mavproxy_cmdlong: Add componentID to messages#1691

Merged
peterbarker merged 1 commit into
ArduPilot:masterfrom
stephendade:cmdlong_compid
May 28, 2026
Merged

mavproxy_cmdlong: Add componentID to messages#1691
peterbarker merged 1 commit into
ArduPilot:masterfrom
stephendade:cmdlong_compid

Conversation

@stephendade
Copy link
Copy Markdown
Contributor

The cmdlong module has a bunch of commands which are sent to target_component=0, rather than the self.settings.target_component.

I've updated them all to use self.settings.target_component, but I'm conscious that I might be breaking some default behaviors?

This caught me out trying to send a cammsg to a MAVLink camera, but sine MAVProxy sent it out with a target_component=0, instead of the actual camera's compid and subsequently got filtered out by the camera.

Copy link
Copy Markdown
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

LGTM

@peterbarker peterbarker merged commit 0151360 into ArduPilot:master May 28, 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