mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-12 22:40:19 +08:00
util3d: Refactored laserScanFromPointCloud() functions to return LaserScan with correct format instead of cv::Mat.
This commit is contained in:
@@ -507,7 +507,7 @@ int main(int argc, char * argv[])
|
||||
if(saveInDb)
|
||||
{
|
||||
printf("Saving in db... (%d points)\n", (int)mergedClouds->size());
|
||||
driver->saveOptimizedMesh(util3d::laserScanFromPointCloud(*mergedClouds, Transform(), false));
|
||||
driver->saveOptimizedMesh(util3d::laserScanFromPointCloud(*mergedClouds, Transform(), false).data());
|
||||
printf("Saving in db... done!\n");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user