Bug report
Required Info:
- Operating System:
- Installation type:
- Version or commit hash:
- 5EBF27D810C6AB68EEF7D42937CD421D85E50509AE96883239979A1B3A2F4F82
- DDS implementation:
- Client library (if applicable):
Steps to reproduce issue
Noticed this when using foxglove_bridge. They compute the qos depth to use for a subscriber by summing the qos depths of all publishers on that topic. This is not working with fastDDS as get_publishers_info_by_topic reports a qos depth of 0 for any publisher.
Tracing this through the code, I see the comment here which I think indicates the source of the issue
|
* Since WriterQos or ReaderQos do not have information about history and depth, |
Expected behavior
I would expect get_publishers_info_by_topic to report the actual qos depth of publishers
Actual behavior
get_publishers_info_by_topic reports all publishers as having a qos depth of 0
Additional information
Bug report
Required Info:
Steps to reproduce issue
Noticed this when using foxglove_bridge. They compute the qos depth to use for a subscriber by summing the qos depths of all publishers on that topic. This is not working with fastDDS as get_publishers_info_by_topic reports a qos depth of 0 for any publisher.
Tracing this through the code, I see the comment here which I think indicates the source of the issue
rmw_fastrtps/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/qos.hpp
Line 129 in 901339f
Expected behavior
I would expect get_publishers_info_by_topic to report the actual qos depth of publishers
Actual behavior
get_publishers_info_by_topic reports all publishers as having a qos depth of 0
Additional information