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

Support for ON_REQUESTED_INCOMPATIBLE_QOS and ON_OFFERED_INCOMPATIBLE_QOS events #125

Merged
merged 2 commits into from
Mar 27, 2020
Merged

Support for ON_REQUESTED_INCOMPATIBLE_QOS and ON_OFFERED_INCOMPATIBLE_QOS events #125

merged 2 commits into from
Mar 27, 2020

Conversation

mm318
Copy link
Member

@mm318 mm318 commented Mar 24, 2020

Related to this feature request. The design and implementation details can also be found there.

Handling events of type REQUESTED_INCOMPATIBLE_QOS_STATUS and OFFERED_INCOMPATIBLE_QOS_STATUS

@dpotman
Copy link
Contributor

dpotman commented Mar 24, 2020

@mm318 thanks for adding support for these events! The changes look good to me, I don't see any issues.

Copy link
Collaborator

@eboasson eboasson left a comment

Choose a reason for hiding this comment

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

Thanks @mm318, I see only one problem and that is compatibility with Dashing and Eloquent (which as of today we still maintain in the Cyclone DDS RMW layer). I think all the new things are part of the Foxy RMW interface, so that would make them conditional on RMW_VERSION_GTE(0,8,2), similar to getting topic endpoint info (see, e.g., line 54).

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

LGTM!

rmw_cyclonedds_cpp/src/rmw_node.cpp Show resolved Hide resolved
Signed-off-by: Miaofei <miaofei@amazon.com>
Signed-off-by: Miaofei <miaofei@amazon.com>
@mm318
Copy link
Member Author

mm318 commented Mar 26, 2020

Thanks, @eboasson. I have added #if RMW_VERSION_GTE(0,8,2) guards for the new code.

Copy link
Collaborator

@eboasson eboasson left a comment

Choose a reason for hiding this comment

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

Thanks @mm318 . I think this PR is dependent on ros2/rmw#193 so I'll let you figure out when the best time to merge it is.

@ivanpauno ivanpauno merged commit c481c10 into ros2:master Mar 27, 2020
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.

4 participants