From 860733643dee4c2a56adbe8c9567409ad064388d Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Thu, 30 Apr 2015 22:46:46 +0200 Subject: [PATCH] set height and width in filtered PCL --- src/filtre.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); }