Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message Filter dropping message: frame 'laser' #12

Open
Lshenni opened this issue Aug 30, 2023 · 1 comment
Open

Message Filter dropping message: frame 'laser' #12

Lshenni opened this issue Aug 30, 2023 · 1 comment

Comments

@Lshenni
Copy link

Lshenni commented Aug 30, 2023

Hi, how do i display the map in rviz? I currently have a lidar with publishes data through the topic /scan, and when I run the lidar driver, this error pops out. How do i set the parameters in rviz?

My procedure to run the code:

  1. run lidar driver : ros2 launch sllidar_ros2 view_sllidar_s2_launch.py
  2. run slam gmapping: ros2 launch slam_gmapping slam_gmapping.launch.py
  3. run fake_odom : ros2 launch fake_odom fake_odom.launch.py (could not compile this, and will figure it out later)

Terminal error when running 1 & 2:
[slam_gmapping-1] [INFO] [1693378221.572223528] [slam_gmapping]: Message Filter dropping message: frame 'laser' at time 1693378220.469 for reason 'Unknown'

Here are my settings for rviz:
image
image
image

@anasderkaoui
Copy link

First, in order to run fake odom, there is another way: ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 odom base_link
Then, regarding the error, make sure you have the full transform tree: odom -> base_link -> laser
NOTE: if you name the base frame name to a name other than "base_link", the gmapping will not work and will throw some errors!
Fixed Frame should be set to "map" or "base_link"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants