ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

What is a cluster in RTAB-Map?

asked 2022-12-12 13:11:14 -0500

sopesa gravatar image

I saw parameters related to cluster inside RTAB-Maps configuration ClusterRadius and MinClusterSize but their is absolutely no documentation that describes what these values are and how they should be configured. Their definitions are vague and useless as well. I kind of found out they are related to the grid cell size but not sure what this relation is.

So my question is what do these parameters do exactly and how they should be configured?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-12-13 10:33:56 -0500

matlabbe gravatar image

These parameters are used for the occupancy grid.

rtabmap --params | grep Cluster
Param: Grid/ClusterRadius = "0.1"   [[Grid/NormalsSegmentation=true] Cluster maximum radius.]
Param: Grid/MinClusterSize = "10"   [[Grid/NormalsSegmentation=true] Minimum cluster size to project the points.]

They are used when Grid/NormalsSegmentation=true:

rtabmap --params | grep Grid/NormalsSegmentation
Param: Grid/NormalsSegmentation = "true" [Segment ground from obstacles using point normals, otherwise a fast passthrough is used.]

Then to know more about this approach, look at the code here: https://github.com/introlab/rtabmap/b...

So specifically for your question, the cluster parameters are used to cluster the point clouds into multiple surfaces. This can also filter some noise.

Some examples of results:

edit flag offensive delete link more

Comments

Ah okay, I think I get it now. Thank you!

sopesa gravatar image sopesa  ( 2022-12-13 12:25:52 -0500 )edit

Question Tools

Stats

Asked: 2022-12-12 13:11:14 -0500

Seen: 120 times

Last updated: Dec 13 '22