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

Implement method to get endpoints info #85

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

Yadunund
Copy link
Member

Implementing this method should allow ros2 topic info -v to return verbose results.

To test,

# terminal 1
ros2 run rmw_zenoh_cpp init_rmw_zenoh_router 
# terminal 2
ros2 run demo_nodes_cpp talker
#terminal 3
ros2 topic info /chatter -v

# expected output
Publisher count: 1

size var: 1, size in array: 1
Node name: talker
Node namespace: /
Topic type: std_msgs/msg/String
Topic type hash: INVALID
Endpoint type: PUBLISHER
GID: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
QoS profile:
  Reliability: SYSTEM_DEFAULT
  History (Depth): SYSTEM_DEFAULT
  Durability: SYSTEM_DEFAULT
  Lifespan: 0 nanoseconds
  Deadline: 0 nanoseconds
  Liveliness: SYSTEM_DEFAULT
  Liveliness lease duration: 0 nanoseconds

@clalancette clalancette merged commit 10955d7 into rolling Dec 27, 2023
5 checks passed
@delete-merged-branch delete-merged-branch bot deleted the yadu/topic_endpoint_info branch December 27, 2023 15:28
Yadunund added a commit that referenced this pull request Dec 28, 2023
Yadunund added a commit that referenced this pull request Jan 12, 2024
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.

2 participants