Closed bijoua29 closed 1 year ago
Yes, you are absolutely right; this should not warn. However, I'm pretty sure that this is a problem at the rmw layer, so I'm going to move this ticket there.
closing in favor of https://github.com/ros2/rclcpp/pull/2082
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
No QoS warning
Actual behavior
Additional information
This warning was recently added. I would expect that if I use rclcpp::SystemDefaultsQoS() that I would not see any warning or error for QoS. I realize that the depth was probably always set to zero for the default and it was corrected by the rmw to 1 and only now the warning has been posted. But regardless, the expectation for a user is that the system default QoS would not generate a warning.
Secondarily, the warning itself is not very useful when my application has several publishers and subscriptions. It's probably not practical given the architecture of the code but I would find the warning message a lot more useful if the topic name was included.