mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Fixed build with pcl > 1.11.1 (#641)
This commit is contained in:
@@ -563,7 +563,7 @@ int main(int argc, char * argv[])
|
||||
if(saveInDb)
|
||||
{
|
||||
printf("Saving mesh in db...\n");
|
||||
std::vector<std::vector<std::vector<unsigned int> > > polygons;
|
||||
std::vector<std::vector<std::vector<RTABMAP_PCL_INDEX> > > polygons;
|
||||
polygons.push_back(util3d::convertPolygonsFromPCL(mesh->polygons));
|
||||
driver->saveOptimizedMesh(
|
||||
util3d::laserScanFromPointCloud(mesh->cloud, false).data(),
|
||||
|
||||
Reference in New Issue
Block a user