set height and width in filtered PCL
This commit is contained in:
parent
57820d3684
commit
860733643d
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ class Callback {
|
||||||
if (pt.z < zmax)
|
if (pt.z < zmax)
|
||||||
pcl->push_back(pt);
|
pcl->push_back(pt);
|
||||||
}
|
}
|
||||||
|
pcl->height = 1;
|
||||||
|
pcl->width = pcl->points.size();
|
||||||
publisher.publish(pcl);
|
publisher.publish(pcl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue