-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Update to MavlinkPassthrough unsubscribe_message #2189
Update to MavlinkPassthrough unsubscribe_message #2189
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! If you don't mind following up on two small things.
src/mavsdk/plugins/mavlink_passthrough/mavlink_passthrough_impl.cpp
Outdated
Show resolved
Hide resolved
@@ -216,7 +216,7 @@ class MavlinkPassthrough : public PluginBase { | |||
/** | |||
* @brief Unsubscribe from subscribe_message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're at it. We should add the two @param
docstrings.
…l.cpp Co-authored-by: Julian Oes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Looks like gimbal_device_tester.cpp failed. I'll update the test. |
Thanks for the follow up @c-devine! Let's see if it passes now. |
This updates MavlinkPassthrough to require a message id in unsubscribe_message. It fixes the bug where unsubscribing from a passthrough message also unsubscribed from messages with the same handle id but different message ids.