Ask Your Question

slam_toolbox Filter dropping message: frame 'laser'

asked 2022-03-04 08:52:24 -0500

Dr.Modi gravatar image

updated 2022-03-04 08:57:57 -0500

Hello everyone I am using ROS 2 Eloquent (Ubuntu 18.04) and am currently studying Nav2. I wanted to try the work of slam_toolbox together with the lidar of RPLIDAR S1. To do this, I run:

ros2 launch rplidar_ros2

And then I launch:

ros2 launch slam_toolbox

I expected to get /map output, however I see an error:

[slam_toolbox-1] [INFO] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1646404216.077 for reason 'Unknown'

After reading the documentation and package description, I realized that slam_toolbox requires TF transforms from odom->base link. However, I don't quite understand how to get the right /tf, has anyone encountered this? I will be glad of any help!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-03-07 23:42:51 -0500

dognaught47 gravatar image

The Nav 2 Transformations and odometry documentation are pretty helpful:

You need something to publish the odometry transform you’re missing. It’s confusing because there are many possible sources for that transform and it depends on how you setup your robot. Here are some examples:

  • A motor controller driver that publishes wheel odometry based on wheel encoders
  • A gazebo plug-in in a simulated robot
  • A tracking camera driver such as the RealSense T265
  • the ros2_control framework
  • The robot_localization package that can fuse multiple odometry sources such as wheel encoders, IMU, or GPS
  • and more….
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2022-03-04 08:52:24 -0500

Seen: 226 times

Last updated: Mar 07