Tango: Optimized memory for created meshes (keeping dense clouds instead of organized clouds)

This commit is contained in:
matlabbe
2016-09-07 19:59:25 -04:00
parent 4a072b3dfc
commit d3173d8533
13 changed files with 253 additions and 151 deletions
+1 -2
View File
@@ -268,8 +268,7 @@ void GainCompensator::apply(
pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud)
{
pcl::IndicesPtr indices(new std::vector<int>);
UASSERT_MSG(uContains(idToIndex_, id), uFormat("id=%d idToIndex_.size()=%d", id, (int)idToIndex_.size()).c_str());
apply(idToIndex_.at(id), cloud, indices);
apply(id, cloud, indices);
}
void GainCompensator::apply(
int id,