Merge pull request #649 from nobleo/fix/point_cloud_aggregator

[point_cloud_aggregator] pointrow_step of tmp_output should depend on size of tmp_output
This commit is contained in:
matlabbe
2021-09-27 19:30:33 -04:00
committed by GitHub
+1 -1
View File
@@ -293,7 +293,7 @@ private:
pcl::concatenatePointCloud(*output, *cloud2, *tmp_output);
#endif
//Make sure row_step is the sum of both
tmp_output->row_step = output->row_step + cloud2->row_step;
tmp_output->row_step = tmp_output->width * tmp_output->point_step;
output = tmp_output;
}