Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCS_MAVLink: dont send timesync or on active channels for high latency links #26385

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

stephendade
Copy link
Contributor

Currently, the TIMESYNC and NAMED_VALUE_FLOAT MAVLink messages are sent over High Latency MAVLink ports. They should not be sent.

This PR prevents them from being sent.

Note I'm using the send_to_active_channels() function in libraries/GCS_MAVLink/GCS.cpp to filter out the NAMED_VALUE_FLOAT messages, as send_named_float() doesn't allow me to select which channels to send/not send.

@rmackay9 rmackay9 requested a review from peterbarker March 5, 2024 00:34
@stephendade stephendade force-pushed the hlextrafilter branch 2 times, most recently from af6c3e3 to 116b51f Compare March 5, 2024 09:42
libraries/GCS_MAVLink/GCS.cpp Outdated Show resolved Hide resolved
@stephendade stephendade force-pushed the hlextrafilter branch 3 times, most recently from b02ab94 to b9fc300 Compare March 8, 2024 01:46
Copy link
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 faf2ae3 into ArduPilot:master Mar 12, 2024
89 checks passed
@stephendade stephendade deleted the hlextrafilter branch October 21, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants