set height and width in filtered PCL

This commit is contained in:
Louis-Guillaume DUBOIS 2015-04-30 22:46:46 +02:00
parent 57820d3684
commit 860733643d

View file

@ -18,6 +18,8 @@ class Callback {
if (pt.z < zmax)
pcl->push_back(pt);
}
pcl->height = 1;
pcl->width = pcl->points.size();
publisher.publish(pcl);
}