Add 2 interfaces for configuring action client feedback subscription contents filter#1287
Open
Barry-Xu-2018 wants to merge 5 commits intoros2:rollingfrom
Open
Conversation
772f3f0 to
c10424f
Compare
…contents filter Signed-off-by: Barry Xu <barry.xu@sony.com>
c10424f to
a7986c5
Compare
There was a problem hiding this comment.
Pull request overview
This PR adds two new interfaces for configuring content filtering on action client feedback subscriptions. The functionality allows action clients to filter feedback messages based on goal IDs, improving performance by reducing unnecessary data transfer.
Changes:
- Added
rcl_action_client_configure_feedback_subscription_filter_add_goal_id()to add a goal ID to the feedback subscription filter - Added
rcl_action_client_configure_feedback_subscription_filter_remove_goal_id()to remove a goal ID from the feedback subscription filter - Added comprehensive unit and integration tests for the new functionality
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 11 comments.
| File | Description |
|---|---|
| rcl_action/include/rcl_action/action_client.h | Adds two new public API function declarations with documentation for configuring feedback subscription content filters |
| rcl_action/src/rcl_action/action_client.c | Implements the two new functions plus helper functions for converting goal IDs to strings and generating filter expressions |
| rcl_action/test/rcl_action/test_action_client.cpp | Adds unit tests for invalid inputs and basic functionality of the new filter configuration functions |
| rcl_action/test/rcl_action/test_action_communication.cpp | Adds integration tests covering various scenarios: adding one/two goal IDs, removing goal IDs, and verifying filtering behavior |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Barry Xu <barry.xu@sony.com>
7031e04 to
5f2325d
Compare
…ter safety Signed-off-by: Barry Xu <barry.xu@sony.com>
… tests Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>
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
Use Content Filtering for action feedback topic on action clients #1258
This new interface will be called in rclcpp/rclpy while action client gets Goal ID.
Is this user-facing behavior change?
No.
Did you use Generative AI?
Use github copilot (GPT-5.1-Codex) for test codes
Additional Information