diff --git a/src/filtre.cpp b/src/filtre.cpp index 5927a4b..a181189 100644 --- a/src/filtre.cpp +++ b/src/filtre.cpp @@ -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); }