SteveMacenski / slam_toolbox

Slam Toolbox for lifelong mapping and localization in potentially massive maps with ROS
GNU Lesser General Public License v2.1
1.67k stars 525 forks source link

Message Filter dropping message: frame 'laser' at time 1721657901.229 for reason 'discarding message because the queue is full' #720

Open urwa95 opened 4 months ago

urwa95 commented 4 months ago

[sync_slam_toolbox_node-2] [INFO] [1721657901.312031566] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.150 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.394929913] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.229 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.477027034] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.312 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.560229949] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.395 for reason 'discarding message because the queue is full' -- cannot get rid of this error, tried changing queue size and launch file many times

Raunakabhani commented 1 month ago

check if topic /odom is getting any data or not, you can use laser odom by using package rf2o_laser_odometry

FLYivan commented 1 week ago

[sync_slam_toolbox_node-2] [INFO] [1721657901.312031566] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.150 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.394929913] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.229 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.477027034] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.312 for reason 'discarding message because the queue is full' [sync_slam_toolbox_node-2] [INFO] [1721657901.560229949] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1721657901.395 for reason 'discarding message because the queue is full' -- cannot get rid of this error, tried changing queue size and launch file many times

Actually, I encountered the same problem, but previous responses from others inspired me and I ultimately solved the problem. Below, I will summarize my experience This situation is a problem with the TF relationship 1、check your TF tree , Ensure the integrity of the structure from map to Odom and then to base_ink, and check it through "rqt_tf_tree" 2、Most overlooked situations,check the configuration files in the config folder of the slam toolbox,because the frame_id in the yaml file may different from your customized frame_id (for example odom、 base、 map),if it is different,modify the yaml file