Topic:
Depth: 5
Durability Policy: Volatile
Filter size: 10
History Policy: Keep Last
Reliability Policy: Best Effort
Value: /scan
when I run the driver, I get the following warning
[ros_main-1] [WARN] [1700130825.414718492] [ros_main]: New subscription discovered on topic '/scan', requesting incompatible QoS. No messages will be sent to it. Last incompatible policy: RELIABILITY_QOS_POLICY
But I can still view the data in RViz. Also, following is verbose output for the scan topic info:
So the settings do actually match. Why am I getting the warning in that case? And this happens only on humble (galactic and foxy works). I can do a test with the latest rolling as well, just in case, to narrow down that the problem is in the humble version.
Setup: Ubuntu 22.04, ROS humble
I am writing a ROS driver for a laser scanner and want to view the scan data in RViz. I have used
SensorDataQoS
while creating the publisherand have also set the QoS values in .rviz as well
when I run the driver, I get the following warning
But I can still view the data in RViz. Also, following is verbose output for the scan topic info:
So the settings do actually match. Why am I getting the warning in that case? And this happens only on humble (galactic and foxy works). I can do a test with the latest rolling as well, just in case, to narrow down that the problem is in the humble version.