at-wat / mcl_3dl

A ROS node to perform a probabilistic 3-D/6-DOF localization system for mobile robots with 3-D LIDAR(s). It implements pointcloud based Monte Carlo localization that uses a reference pointcloud as a map.
BSD 3-Clause "New" or "Revised" License
482 stars 119 forks source link

Little matched points when running localization #263

Open iceicehyhy opened 4 years ago

iceicehyhy commented 4 years ago

Hi there,

I'm trying the localization package using imu, odom and Lidar. But, it seems that the matched points is very little when I move the robot around(less than 10 points). My setting is as follows:

  1. The map used is a PCD map, and I use pcl_ros pkg to convert it to pointcloud format.
  2. Lidar is a 16-channel 360 degree LIDAR.

I noticed that there're tens of matched points in your demo video, and the localization is accurate. But, in my case, the robot sometimes gets lost and cannot recover due to insufficient matched points. Any thought on that? Thanks a lot in advance.

at-wat commented 4 years ago

I guess you are using 3D LIDAR like Velodyne. Such kinds of LIDARs provide pointcloud in which its horizontal scan is split into several pointcloud messages. In this case, the ~/accum_cloud parameter should be increased to the number of the pointcloud messages reconstructing a full horizontal scan.

HappySamuel commented 4 years ago

Hi @at-wat

What actually does this accum_cloud help with the localization result for a moving robot?

Best, Samuel