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

core: use separate mavlink_status_t again #1740

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Conversation

julianoes
Copy link
Collaborator

Previously, we made an attempt to fix the outgoing sequence numbers. Therefore, we would ignore the chan number for the mavlink_status_t, however, this lead to serious problems when doing system tests with multiple mavsdk instances sending messages to each other as they would sometimes both use the mavlink_status_t data and mess up each others parsing.

Therefore, we remove the previous hack, and go back to separate mavlink_status_t. This will probably mess up outgoing sequence numbers but given they can't reliably be used to assess drop rate anyway it's an ok pill to swallow, for now. And this enables more consistent system tests, and in general applications with more than one Mavsdk instance.

Previously, we made an attempt to fix the outgoing sequence numbers.
Therefore, we would ignore the chan number for the mavlink_status_t,
however, this lead to serious problems when doing system tests with
multiple mavsdk instances sending messages to each other as they would
sometimes both use the mavlink_status_t data and mess up each others
parsing.

Therefore, we remove the previous hack, and go back to separate
mavlink_status_t. This will probably mess up outgoing sequence numbers
but given they can't reliably be used to assess drop rate anyway it's
an ok pill to swallow, for now. And this enables more consistent system
tests, and in general applications with more than one Mavsdk instance.
@julianoes julianoes added the bug label Apr 18, 2022
@julianoes julianoes merged commit 41bddcb into main Apr 18, 2022
@julianoes julianoes deleted the pr-fix-static-status branch April 18, 2022 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant