Skip to content

Conversation

@Barry-Xu-2018
Copy link
Contributor

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

@Barry-Xu-2018 Barry-Xu-2018 force-pushed the develop/topic-configure-feedback-sub-content-filter branch from 772f3f0 to c10424f Compare January 22, 2026 03:04
…contents filter

Signed-off-by: Barry Xu <barry.xu@sony.com>
@Barry-Xu-2018 Barry-Xu-2018 force-pushed the develop/topic-configure-feedback-sub-content-filter branch from c10424f to a7986c5 Compare January 22, 2026 03:06
@Barry-Xu-2018 Barry-Xu-2018 changed the title Add a new interface rcl_action_client_configure_feedback_subscription… Add 2 interfaces for configuring action client feedback subscription contents filter Jan 22, 2026
@Barry-Xu-2018 Barry-Xu-2018 marked this pull request as ready for review January 22, 2026 03:08
Copilot AI review requested due to automatic review settings January 22, 2026 03:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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>
@Barry-Xu-2018 Barry-Xu-2018 force-pushed the develop/topic-configure-feedback-sub-content-filter branch from 7031e04 to 5f2325d Compare January 22, 2026 06:48
…ter safety

Signed-off-by: Barry Xu <barry.xu@sony.com>
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.

1 participant