Comparing two PointClouds.

asked 2022-08-19 14:50:31 -0500

gmark gravatar image

I'm using octomap for my mapping, this publishes a PointCloud2 message that represents all the points in the current map.

So at a point in time t = 0 i have a PointCloud2 message with some points inside. At a later time t>0 this PointCloud2 message has more points ( map is bigger).

Is there any efficient way to compare those 2 PointCloud2 messages and generate a third PointCloud2 message that contains only the new points?

Resetting the map is not possible since i need it to have it for mapping/planning.

edit retag flag offensive close merge delete