I'm using https://github.com/SICKAG/sick_safetyscanners2 A ROS2 Driver which reads the raw data from the SICK Safety Scanners and publishes the data as a laser_scan msg.
I run it by default on one terminal window using command
Then in another terminal window I run slam_toolbox using command
ros2 run slam_toolbox async_slam_toolbox_node --ros-args --param use_sim_time:=true --params-file /home/maksim/slam_toolbox_config_maksim.yaml
Expected behavior
I want to use slam_toolbox and visualize data from the lidar like it can be done in cartographer. So we have lidar topic /scan, slam_toolbox subscribes on it. Then I expect to view visualization in rviz2.
Actual behavior
When I run slam_toolbox
I receive message
[INFO] [1651063566.664724738] [slam_toolbox]: Message Filter dropping message: frame 'scan' at time 1651063566.627 for reason 'Unknown'
In rviz2 I can see topics /slam_toolbox/scan_visualization But it doesn't visualize lidar data in rviz.
How to debug this info message?
[INFO] [1651063566.664724738] [slam_toolbox]: Message Filter dropping message: frame 'scan' at time 1651063566.627 for reason 'Unknown'
You need real odometry, but in general please look at ros answers, unfortunately I don't have the bandwidth to help fix folks' individual configuration issues.
Required Info:
Steps to reproduce issue
I'm using https://github.com/SICKAG/sick_safetyscanners2 A ROS2 Driver which reads the raw data from the SICK Safety Scanners and publishes the data as a laser_scan msg. I run it by default on one terminal window using command
Then in another terminal window I run slam_toolbox using command
Expected behavior
I want to use slam_toolbox and visualize data from the lidar like it can be done in cartographer. So we have lidar topic
/scan
, slam_toolbox subscribes on it. Then I expect to view visualization in rviz2.Actual behavior
When I run slam_toolbox I receive message
In rviz2 I can see topics
/slam_toolbox/scan_visualization
But it doesn't visualize lidar data in rviz.How to debug this info message?
I think it is a rootcause. In ros forum I found this solution to modify launch file https://answers.ros.org/question/357762/slam_toolbox-message-filter-dropping-message/ But it doesn't help me... I modified launch file of lidar scanner, like this was described in this ros forum.