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

How to filter floor / ground from Pointcloud2

asked 2021-05-27 04:05:28 -0500

KrizChong gravatar image

I get a Pointcloud2 message from a pitching LIDAR, before I do SLAM with it, I need to filter out the floor or ground from the Pointcloud2, and also the high points that can be ignored.

Any Pointcloud2 filter package or example?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-28 09:05:30 -0500

allenh1 gravatar image

I'm not aware of any examples off the top of my head, but you can use the normal vector for the points in the cloud.

If you don't have normals, you can estimate them using the method here.

Basically, you'll just remove points that have normals facing up.

edit flag offensive delete link more

Question Tools



Asked: 2021-05-27 04:05:28 -0500

Seen: 355 times

Last updated: May 28 '21