Ask Your Question

Revision history [back]

You can for example use sample_consensus_model_perpendicular_plane. This allows specifying a normal for the plane that is fitted to the cloud. If you specify a (0, 0, 1) normal (i.e. one for a ideal floor plane), your segmentation should give you a fit for the floor. Do not forget to set the angle tolerance as noted in the link.