Project-MANAS / slam_gmapping

Slam Gmapping for ROS2
140 stars 41 forks source link

map doesn't work #9

Open Marouan-22 opened 2 years ago

Marouan-22 commented 2 years ago

image

Hi,

I use rplidar A1 to scan, i do get the laser but it doesn't show anything if I set it on map? do you have any idea?

greetings!

Kathan-k10 commented 1 year ago

same problem , any solution or other way to work on SLAM?

ch1y1z1 commented 1 year ago

same problem , any solution or other way to work on SLAM?

anasderkaoui commented 8 months ago

Make sure you have the right transform tree in the lidar code. The error message on the terminal indicates that the issue is likely related to the transform tree which should look like this (if you run: ros2 run tf2_tools view_frames.py): odom -> base_link -> laser In some cases the message might also indicate that the queue size is full, so it has to be modified in the code to be larger.