Open hsd-dev opened 10 months ago
Hi @ipa-hsd, could you provide the full code for a minimal reproducible example? Also, which DDS are you using?
Thanks for making the issue.
I am experiencing this as well using pointcloud_to_laserscan, anytime I start Rviz2, it seems to be messing up the topic and pointcloud_to_laserscan stops publishing to the /scan topic. I am using what should be the latest available, ROS 2 Jazzy, Ubuntu Noble, packaged versions.
[pointcloud_to_laserscan_node-6] [WARN] [1732215357.520418540] [pointcloud_to_laserscan]: New subscription discovered on topic '/scan', requesting incompatible QoS. No messages will be sent to it. Last incompatible policy: RELIABILITY_QOS_POLICY
[pointcloud_to_laserscan_node-6] [INFO] [1732215357.523424432] [pointcloud_to_laserscan]: Got a subscriber to laserscan, starting pointcloud subscriber
[pointcloud_to_laserscan_node-6] [INFO] [1732215482.382114669] [pointcloud_to_laserscan]: No subscribers to laserscan, shutting down pointcloud subscriber
I definitely changed it in Rviz2 to be best effort, to match the rest, I have no idea where the reliability policy is coming from. Like the original report, when I look at the topic information under ros2, rviz2 is using best effort. It seems to be happening on initial connect or something else in Rviz2. I can see about providing additional information but not sure I can provide a reproducible example. Thank you!
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.