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

mcl_3dl using which model as default? likelihood model or beam model? #253

Closed HappySamuel closed 4 years ago

HappySamuel commented 5 years ago

Hi

I am curious, if i specify neither likelihood nor beam parameters, which is the default model that mcl_3dl is going to use?

Best, Samuel

at-wat commented 5 years ago

Both are used. You can change number of the points used in each model separately.

HappySamuel commented 5 years ago

Hi @at-wat

Having both to work at the same time? Won't they contradict each other? Can you share the idea of using both of them at the same time?

Besides, if i only want to use one of them, how shall i disable another one.

Best, Samuel

at-wat commented 5 years ago

Having both to work at the same time? Won't they contradict each other?

It's very natural idea to fuse multiple measurement results (likelihood fields) by Bayesian inference.

Can you share the idea of using both of them at the same time?

See the document linked from README.

Besides, if i only want to use one of them, how shall i disable another one.

As I explained in the first response, you can set the number of the points used in each model. Beam model can be disabled by setting 0. Disabling likelihood field model is currently not supported.

HappySamuel commented 5 years ago

Hi @at-wat

Thanks for the information. I have read the README again. There's another question, the pre-filtered 3D pointcloud you mentioned in the README, you filtered those whom are useless points (x=0, y=0, z=0)? or what did you filtered?

Best, Samuel

at-wat commented 4 years ago

There's another question, the pre-filtered 3D pointcloud you mentioned in the README, you filtered those whom are useless points (x=0, y=0, z=0)? or what did you filtered?

No, the filter applied to the sample data is mainly for removing shadow points (by a filter similar to http://wiki.ros.org/laser_filters#ScanShadowsFilter) and points measuring the robot body, which is highly depends on the robot configuration and independent from mcl_3dl algorithm.

at-wat commented 4 years ago

Closing as the question looks resolved. Feel free to reopen, or open a new issue, if you have any another question on this topic.

HappySamuel commented 4 years ago

Ya, the problem already resolved. Sorry for forgetting to close it down. Thanks for the guidance.