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

call rcl content filter fallback #996

Open
wants to merge 10 commits into
base: rolling
Choose a base branch
from

Conversation

Signed-off-by: Chen Lihui <[email protected]>
@fujitatomoya fujitatomoya mentioned this pull request Aug 23, 2022
4 tasks
@fujitatomoya fujitatomoya self-requested a review February 15, 2023 06:37
@fujitatomoya fujitatomoya self-assigned this Feb 15, 2023
@fujitatomoya fujitatomoya added enhancement New feature or request in review Waiting for review (Kanban column) labels Feb 15, 2023
@fujitatomoya
Copy link
Collaborator

@clalancette @wjwwood about fallback filtering in rcl, that requires new repository ros2/rcl_content_filter_fallback#1, I will be working on the review.
but i think it would not be probable to integrate new repo for Iron FF? what do you think? if you have any better ideas, please let us know.

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

1st review completed.

rcl/CMakeLists.txt Outdated Show resolved Hide resolved
rcl/src/rcl/subscription.c Outdated Show resolved Hide resolved
rcl/src/rcl/subscription.c Outdated Show resolved Hide resolved
rcl/src/rcl/subscription.c Outdated Show resolved Hide resolved
rcl/src/rcl/subscription.c Show resolved Hide resolved
rcl/src/rcl/subscription.c Outdated Show resolved Hide resolved
rcl/src/rcl/subscription.c Outdated Show resolved Hide resolved
rcl/test/rcl/test_subscription.cpp Outdated Show resolved Hide resolved
rcl/test/rcl/test_subscription.cpp Outdated Show resolved Hide resolved
Chen Lihui and others added 4 commits February 24, 2023 10:56
@iuhilnehc-ynos iuhilnehc-ynos changed the title call common content filter call rcl content filter fallback Feb 27, 2023
Chen Lihui added 2 commits February 27, 2023 13:34
@iuhilnehc-ynos
Copy link
Collaborator Author

Try CI for 6 PRs mentioned in #996 (comment)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@iuhilnehc-ynos
Copy link
Collaborator Author

iuhilnehc-ynos commented Mar 2, 2023

rerun CI

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@iuhilnehc-ynos
Copy link
Collaborator Author

iuhilnehc-ynos commented Mar 6, 2023

Give it another shot.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@iuhilnehc-ynos overall lgtm, i still think we should not use DDS, how about replacing those into RMW implementation?

// Content filter topic not supported (or not enabled as some failed cases) on rmw
// implementation.
// TODO(iuhilnehc-ynos): enable rcl content filter fallback with an environment variable
// (e.g. FORCE_COMMON_CONTENT_FILTER) regardless of whether cft is enabled on DDS.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// (e.g. FORCE_COMMON_CONTENT_FILTER) regardless of whether cft is enabled on DDS.
// (e.g. FORCE_COMMON_CONTENT_FILTER) regardless of whether cft is enabled on RMW implementation.

bool is_cft_support =
(std::string(rmw_get_implementation_identifier()).find("rmw_connextdds") == 0 ||
std::string(rmw_get_implementation_identifier()).find("rmw_fastrtps_cpp") == 0);
// rcl CFT will be the fallback if rmw CFT is unsupported on DDS
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// rcl CFT will be the fallback if rmw CFT is unsupported on DDS
// rcl CFT will be the fallback if rmw CFT is unsupported on implementation

@iuhilnehc-ynos
Copy link
Collaborator Author

@fujitatomoya

You're right. we should not let users know something about DDS information in RCL layer, even if the DDS characters.

Signed-off-by: Chen Lihui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants