ROS 2 SLAM not working, 'queue is full'
Hi, I've been trying to do mapping using ROS 2, but when I try to initialize the slam toolbox, I get an error saying: 'Message Filter dropping message: frame 'laser_frame' at time ... for reason 'discarding message because the queue is full'. I know the problem is the tf tree, but I can't tell what exactly.
I am attaching the tf tree, and the output of ros2 topic echo /tf. Any help will be really appreciated since I've been working on this for the last couple of days.
Static Transform Publisher: def generatelaunchdescription(): return LaunchDescription([ Node(package='tf2ros', executable='statictransformpublisher', arguments=['-0.012', '0', '0.144', '0', '0', '0', 'basefootprint', 'laser_frame']),
Tree: map: {} odom: basefootprint: laserframe: {} baselink: bumpfrontcenter: {} bumpfrontleft: {} bumpfrontright: {} bumpleft: {} bumpright: {} button1: {} button2: {} buttonpower: {} clifffrontleft: {} clifffrontright: {} cliffsideleft: {} cliffsideright: {} irintensityfrontcenterleft: {} irintensityfrontcenterright: {} irintensityfrontleft: {} irintensityfrontright: {} irintensityleft: {} irintensityright: {} irintensitysideleft: {} iromni: {} leftwheel: {} mouse: {} rightwheel: {}
Echo: transforms: - header: stamp: sec: 1658427099 nanosec: 318451217 frameid: odom childframeid: baselink transform: translation: x: -2.140942096710205 y: 3.5825376510620117 z: 0.08043167740106583 rotation: x: 0.006215148605406284 y: 0.02177419140934944 z: -0.21796154975891113 w: 0.9756945967674255 - header: stamp: sec: 1658427099 nanosec: 318451217 frameid: odom childframeid: basefootprint transform: translation: x: -2.141959167701808 y: 3.5798022850077063 z: 0.0 rotation: x: 0.0 y: 0.0 z: -0.21798832714557648 w: 0.9759513735771179
Asked by jsfern on 2022-07-21 15:42:24 UTC
Comments
Can you get e.g. screenshot of the TF? And list the parameters you used?
Asked by ahopsu on 2023-03-27 16:08:29 UTC