mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed windows build (https://ci.appveyor.com/project/matlabbe/rtabmap/builds/42207812)
This commit is contained in:
@@ -1305,7 +1305,7 @@ pcl::IndicesPtr proportionalRadiusFilteringImpl(
|
|||||||
std::vector<bool> kept(cloud->size());
|
std::vector<bool> kept(cloud->size());
|
||||||
tree->setInputCloud(cloud);
|
tree->setInputCloud(cloud);
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for(size_t i=0; i<cloud->size(); ++i)
|
for(int i=0; i<(int)cloud->size(); ++i)
|
||||||
{
|
{
|
||||||
std::vector<int> kIndices;
|
std::vector<int> kIndices;
|
||||||
std::vector<float> kDistances;
|
std::vector<float> kDistances;
|
||||||
|
|||||||
@@ -3494,7 +3494,7 @@ void adjustNormalsToViewPointImpl(
|
|||||||
float groundNormalsUp)
|
float groundNormalsUp)
|
||||||
{
|
{
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for(unsigned int i=0; i<cloud->size(); ++i)
|
for(int i=0; i<(int)cloud->size(); ++i)
|
||||||
{
|
{
|
||||||
pcl::PointXYZ normal(cloud->points[i].normal_x, cloud->points[i].normal_y, cloud->points[i].normal_z);
|
pcl::PointXYZ normal(cloud->points[i].normal_x, cloud->points[i].normal_y, cloud->points[i].normal_z);
|
||||||
if(pcl::isFinite(normal))
|
if(pcl::isFinite(normal))
|
||||||
@@ -3574,7 +3574,7 @@ void adjustNormalsToViewPointsImpl(
|
|||||||
rawTree->setInputCloud (rawCloud);
|
rawTree->setInputCloud (rawCloud);
|
||||||
|
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for(unsigned int i=0; i<cloud->size(); ++i)
|
for(int i=0; i<(int)cloud->size(); ++i)
|
||||||
{
|
{
|
||||||
pcl::PointXYZ normal(cloud->points[i].normal_x, cloud->points[i].normal_y, cloud->points[i].normal_z);
|
pcl::PointXYZ normal(cloud->points[i].normal_x, cloud->points[i].normal_y, cloud->points[i].normal_z);
|
||||||
if(pcl::isFinite(normal))
|
if(pcl::isFinite(normal))
|
||||||
|
|||||||
Reference in New Issue
Block a user