We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a613f commit 6ecb94bCopy full SHA for 6ecb94b
apps/src/openni_mobile_server.cpp
@@ -62,7 +62,7 @@ CopyPointCloudToBuffers(const pcl::PointCloud<pcl::PointXYZRGBA>::ConstPtr& clou
62
{
63
const std::size_t nr_points = cloud->points.size();
64
65
- cloud_buffers.resize(nr_points * 3);
+ cloud_buffers.points.resize(nr_points * 3);
66
cloud_buffers.rgb.resize(nr_points * 3);
67
68
const pcl::PointXYZ bounds_min(-0.9f, -0.8f, 1.0f);
@@ -93,7 +93,7 @@ CopyPointCloudToBuffers(const pcl::PointCloud<pcl::PointXYZRGBA>::ConstPtr& clou
93
j++;
94
}
95
96
- cloud_buffers.resize(j * 3);
+ cloud_buffers.points.resize(j * 3);
97
cloud_buffers.rgb.resize(j * 3);
98
99
0 commit comments