-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add support for content filtered topics #302
Add support for content filtered topics #302
Conversation
481dc41
to
bf27c80
Compare
bf27c80
to
d35f876
Compare
rebase and ready to implement CFT for rmw_fastrtps |
c353990
to
dc7b0df
Compare
@ivanpauno @wjwwood @clalancette could you review this? |
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.
The rmw API looks good to me.
What is going to be the behavior for DDS vendors that don't support content filtering?
we have been discussing internally, but not implementing the rcl filtering function yet. this is something we could do as follow-up, but we are not positive on this approach. |
There are two cases(1. create a subscriber with the content filter at the beginning; 2. set content filter after creating a subscriber that can be non-content filter) to set content filtering. In the first case, it just returns the subscriber as normal with an |
I'm not sure if it's a good idea to add a feature only supported by one DDS vendor. @clalancette @wjwwood any opinion? |
@ivanpauno We've been working hard to have this feature on Fast DDS. It has just been released with v2.5.1 We are changing the Fast DDS branch for rolling in ros2/ros2#1241 @iuhilnehc-ynos Has been working on the |
Well that sounds way better! |
@MiguelCompany thanks for the follow-up @ivanpauno sorry i did not mention that rmw_fastrtps status. that will be supported as well. (So rmw_fastrtps and rmw_connextdds will be supported with this PR for Humble.)
okay we just wanted to discuss with community how we wanna go for sure. if that is the way to go, we are expecting that we could integrate this filtering in rcl. (expecting that no interfaces need to be changed.) that is something we can do, and we will do that after this. |
Or if rmw_cyclonedds has a plan to support content filtering, we are also willing to work on rmw_cyclonedds to enable that. in this case, we do not really need filtering in rcl? |
Maybe not in that case, but it will make implementing a fully featured rmw implementation much harder. |
okay, sounds good to us. but can we do that as follow-up, we do not think that is required to have this PR in the mainline. |
That sounds good to me. |
@iuhilnehc-ynos could you also share your thought? |
@wjwwood can you review this? |
precisely this is more like, user can create a subscriber with content filtering option that include expression and parameters.
this seems to be no problem. |
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.
I have done a more detailed review now, I still have to take a look at the tests
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
remove constness for rmw_subscription because is_cft_supported might be updated Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
ae1997d
to
8d7d286
Compare
Rebased the 5 repositories, then re-run CI based on #302 (comment) Updated (linked error on windows, fixed in rmw_fastrtps): |
windows CI unstable, https://ci.ros2.org/job/ci_windows/16730/, this is not related to CFT RMW fix. @ivanpauno @wjwwood could you help us to merge the following PRs for RMW CFT? we do not have access permission for cyclone and connextdds.
rmw_connextdds is currently stub to push the interfaces, but the following can be pushed afterwards. (CC: @asorbini )
|
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.
LGTM!
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
CI with ros2/rmw_connextdds#68 |
CI again with ros2/rmw_connextdds#68 (see ros2/rmw_connextdds#68 (comment)) |
CI is green, i will merge this into mainline. |
@fujitatomoya are the other PRs ready as well? e.g. ros2/rmw_connextdds#68 has some conflicts |
Sorry, I see you merged ros2/rmw_connextdds#77 instead. |
@ivanpauno we still have some unstable problems for ros2/rmw_connextdds#68, so we pushed stub version ros2/rmw_connextdds#77 to push the interfaces in the master. |
yeah, i will check the unstable reasons but i am not sure if we can fix it in today. (CC: @asorbini ) |
Related to ros2/design#282 to add content-filtered-topic interfaces.