ros2 / rmw_cyclonedds

ROS 2 RMW layer for Eclipse Cyclone DDS
Apache License 2.0
108 stars 89 forks source link

rmw_get_gid_for_publisher reports wrong GID #446

Open noelex opened 1 year ago

noelex commented 1 year ago

Bug report

Steps to reproduce issue

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 commented 1 year ago

This might be related to #377