SLAM toolbox: Failed to compute odom pose

Hello

I have rosbot 2r and i managed to drive it around with the husarion_ros in ros2. The problem now with slam toolbox. When i run > ros2 launch tutorial_pkg slam.launch.py as described in here > SLAM | Husarion i get the following error:

  • [async_slam_toolbox_node-1] [WARN] [1764442417.414729551] [slam_toolbox]: Failed to compute odom pose

This is occurred since i get data from the Liar and these are being published on /scan topic. But the /map topic stay empty.

With ros2 run tf2_tools view_frames I can see the odom frame

Could someone help, why this happens? The slam parameter are the same as in the tutorial. I just added the following

  • odom_topic: /odometry/filtered
  • map_frame:
  • map mode: mapping

Thank you

Best regards

Zain

Hello @zain,
These topics might be suitable for you: