-
Notifications
You must be signed in to change notification settings - Fork 434
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
content filtered topic for action_feedback and parameterevent #1592
base: rolling
Are you sure you want to change the base?
content filtered topic for action_feedback and parameterevent #1592
Conversation
the same question with ros2/rcl#901 (comment) here, this PR includes #1561. |
Yes. Due to the #1561 not merged, I think I need to do it in this way. Do you have any suggestions? |
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.
overall, seems to be okay with nitpicks.
@@ -263,6 +263,41 @@ class SubscriptionBase : public std::enable_shared_from_this<SubscriptionBase> | |||
bool | |||
exchange_in_use_by_wait_set_state(void * pointer_to_subscription_part, bool in_use_state); | |||
|
|||
/// Check if subscription instance can support content filter topic feature. | |||
/** | |||
* Depending on the middleware and the message type, this will return true if the middleware |
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.
oversight from internal review, is this dependent on message type?
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.
Thanks for pointing it out.
rclcpp/src/rclcpp/time_source.cpp
Outdated
@@ -260,6 +278,7 @@ void TimeSource::destroy_clock_sub() | |||
|
|||
void TimeSource::on_parameter_event(const rcl_interfaces::msg::ParameterEvent::SharedPtr event) | |||
{ | |||
RCLCPP_DEBUG(logger_, "this node should not get others' parameter event if CFT is supported"); |
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.
if CFT is not supported, this prints every single time on parameter event happens. probably we would want to print this message if CFT is supported only?
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.
OK, I'll update it.
d1d3c34
to
ba4ece3
Compare
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
Signed-off-by: Chen Lihui <[email protected]>
to support content filter for action client feedback subscription Signed-off-by: Chen Lihui <[email protected]>
ba4ece3
to
50aeb0a
Compare
related to ros2/design#282
/parameter_events
enhancementaction
feedback
enhancement