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

rmw_get_gid_for_publisher reports wrong GID #446

Open
noelex opened this issue Mar 31, 2023 · 1 comment
Open

rmw_get_gid_for_publisher reports wrong GID #446

noelex opened this issue Mar 31, 2023 · 1 comment

Comments

@noelex
Copy link

noelex commented Mar 31, 2023

Bug report

  • Operating System:
    • Ubuntu 22.04
  • Installation type:
    • binaries
  • Version or commit hash:
    • humble
    • rolling
  • DDS implementation:
    • CycloneDDS
  • Client library (if applicable):
    • rcl

Steps to reproduce issue

  • Create a pulisher and get its GID by calling rmw_get_gid_for_publisher.
  • Also get GID of the same publisher by using rcl_get_publishers_info_by_topic.

Expected behavior

The GID of the publisher retrieved using either rmw_get_gid_for_publisher or rcl_get_publishers_info_by_topic should be identical.

Actual behavior

rmw_get_gid_for_publisher reports a wrong GID.

Additional information

rmw_get_gid_for_client works as expected. Also no issue with FastRTPS.

Looks like rmw_get_gid_for_publisher is returning pubiid instead of gid, is this expected?

@christophebedard
Copy link
Member

This might be related to #377

noelex added a commit to noelex/rclnet that referenced this issue Apr 3, 2023
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

No branches or pull requests

2 participants