NickL77 / RPLidar_Hector_SLAM

Hector SLAM without odometry data on ROS with the RPLidar A1
111 stars 49 forks source link

Next frames overlapping in previous frames #5

Closed bkmen97 closed 5 years ago

bkmen97 commented 5 years ago

I did follow tutorial in the video, but when rotate the RpLidar A1, Lidar scan map again and the next map frames overlapping the previous map frames, i don't understand where is error. Thanks Screenshot from 2019-07-14 11-29-39

NickL77 commented 5 years ago

What video are you referring to? It appears that SLAM is having difficulty localizing where you are so it's overlaying the new scans. My first intuition would be that you're moving the lidar too fast or it's jerking around.

If you are moving it smoothly and slowly and that's still happening, then depending on what you're working on, you can try adding an IMU and either add IMU input to hector_slam or use another algorithm like g_mapping.

bkmen97 commented 5 years ago

Thanks. I slowly moved and rotated. Then Hector slam worked better. So good.