I am using ros2-humble distro trying to get it working with slam_toolbox. 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 'camera_depth_frame' 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.
I tried giving it a very large queue size and also checked if it is really the queue but it looks normal.