Merging pointclouds : performance issues

asked 2020-08-27 03:49:05 -0600

TomSon gravatar image

updated 2020-08-27 09:54:13 -0600

Hi all,

I create a package to merge two pointclouds to another with/o a different frame. For that I use tf, PointCloud2Iterator and PointCloud2Modifier. I don't rely on PCL for the source code to avoid a format change but I use it the test part.

I enforce a balance with the two input pointcloud in order to switch from one to another every time, not relying on the same frequency.

I observe some flickering when I subscribe to both input pointclouds and the output cloud.

image description

The scene with 2 kinect like sensor virtual linked to a base link (white)

image description

Code is here : https://github.com/tomlogan501/pointc...

Any ideas ? Is there another way to do that ?

EDIT : Switch to TimeSynchroniser to simplify the code and be sure to get the sources at the same timestamp. I still get the flickering but it diseappear other time, really strange. Some issue over messageFilter ?

edit retag flag offensive close merge delete