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

add : get clients, servers info #771

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from

Conversation

leeminju531
Copy link
Contributor

Add get clients, servers info

Refer to ros2/ros2cli#916

@leeminju531
Copy link
Contributor Author

@@ -123,4 +123,228 @@ __rmw_get_subscriptions_info_by_topic(
allocator,
subscriptions_info);
}

rmw_ret_t
__rmw_get_clients_info_by_service(
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is related to ros2/ros2cli#916 (comment).

currently implementation fetches both writer and reader for 2 hidden topics and return them together.
on the other hand, when counting the service endpoints, it only checks mangled response hidden topic information. (e.g rmw_count_clients, it only counts the number of DataReader on response hidden topic.)
i think we can also align with this behavior for service endpoint information too because QoS information is the same with the other one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants