mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
fixed 2 compilation warnings
This commit is contained in:
@@ -128,7 +128,7 @@ std::list<std::list<int> > clusterPolygons(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(currentCluster.size() > minClusterSize)
|
if((int)currentCluster.size() > minClusterSize)
|
||||||
{
|
{
|
||||||
clusters.push_back(currentCluster);
|
clusters.push_back(currentCluster);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1177,7 +1177,7 @@ bool ExportCloudsDialog::getExportedClouds(
|
|||||||
for(int i=0; i<nPoints; ++i)
|
for(int i=0; i<nPoints; ++i)
|
||||||
{
|
{
|
||||||
//uv
|
//uv
|
||||||
UASSERT(i < oter->second.size());
|
UASSERT(i < (int)oter->second.size());
|
||||||
int originalVertex = oter->second[i];
|
int originalVertex = oter->second[i];
|
||||||
textureMesh->tex_coordinates[0][i] = Eigen::Vector2f(
|
textureMesh->tex_coordinates[0][i] = Eigen::Vector2f(
|
||||||
float(originalVertex % w) / float(w), // u
|
float(originalVertex % w) / float(w), // u
|
||||||
|
|||||||
Reference in New Issue
Block a user