mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Camera test view: show intensity/rgb/normals if input scans have them
This commit is contained in:
@@ -3262,6 +3262,7 @@ LaserScan loadScan(const std::string & path)
|
||||
if(cloud->fields[i].name.compare("z") == 0)
|
||||
{
|
||||
zOffset = cloud->fields[i].offset;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(zOffset>=0)
|
||||
@@ -3283,7 +3284,6 @@ LaserScan loadScan(const std::string & path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return laserScanFromPointCloud(*cloud, true, is2D);
|
||||
}
|
||||
return LaserScan();
|
||||
|
||||
Reference in New Issue
Block a user