Rviz : camera_depth_frame message filter dropping message because the queue is full
Hi there,
I have converted the depth camera image raw to laserscan using the package from
https://github.com/ros-perception/depthimage_to_laserscan/tree/foxy-devel.
I can see the topic published by the conversion is displaying the laserscan message and giving valid values. Even though I cannot visualize the topic in rviz using laserscan.
But whenever I run the launch file in rviz terminal it displays a line showing
[rviz]: Message Filter dropping message: frame 'cameradepthframe' at time 5.000 for a reason 'discarding message because the queue is full'.
How do I fix this problem? I have to use it for the slam toolbox to map the environment and cannot use lidar for this scenario.
Asked by Jeewo on 2023-02-03 04:36:51 UTC
Answers
What do you mean by a line showing ?can you please elaborate well. Also in ros2 to view topics you have to set the topic of the sensor and set the reliability policy tag of that particular sensor you want to view in rviz2 to system default.Also set you global fixed frame to the sensor frame.
Asked by Davies Ogunsina on 2023-02-06 23:25:31 UTC
Comments
Hi, I mean a line in the terminal that constantly displays the error after the topic is published. "Message Filter dropping message: frame 'camera_depth_frame' at time 13.430 for reason 'discarding message because the queue is full' ". The library did use a system default QoS for the queue.
Also, set your global fixed frame to the sensor frame.
By this do you mean that the sensor frame name should be something different or the same as the frame id that is outputting the laser-scan message? The camera sensor frame name and the output from the conversion of the depth image to laser is different.
Asked by Jeewo on 2023-02-06 23:33:56 UTC
Keep the sensor frame name , same as the frame id that is outputting the laser-scan message.
Asked by Davies Ogunsina on 2023-02-07 10:34:51 UTC
Comments
similar question asked here
Asked by chased11 on 2023-02-06 23:47:22 UTC