Add is_cft_supported field to rmw_subscription_t for content filtering support#415
Merged
fujitatomoya merged 2 commits intoros2:rollingfrom Mar 10, 2026
Conversation
…g support Signed-off-by: Barry Xu <barry.xu@sony.com>
There was a problem hiding this comment.
Pull request overview
This PR adds a new flag on rmw_subscription_t intended to indicate whether the underlying RMW implementation supports the Content Filtered Topic (CFT) feature, so higher layers can avoid workarounds when deciding how to configure CFT behavior.
Changes:
- Add
bool is_cft_supported;tormw_subscription_t. - Add a brief doc comment describing the new field.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Barry Xu <barry.xu@sony.com>
fujitatomoya
approved these changes
Mar 9, 2026
Collaborator
|
Pulls: ros2/rcl#1293, #415 |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a new field to indicate whether RMW supports the content filter feature.
Is this user-facing behavior change?
No
Did you use Generative AI?
No
Additional Information
Currently, there is no RMW interface to check whether the content filter feature is supported. Currently, the code at the RCL layer uses a workaround to determine whether RMW supports content filtering and configures this value accordingly.
Refer to ros2/rcl#1293