mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Merge branch 'master' of github.com:introlab/rtabmap into devel
This commit is contained in:
@@ -116,14 +116,17 @@ void segmentObstaclesFromGround(
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Cluster remaining stuff (obstacles)
|
//Cluster remaining stuff (obstacles)
|
||||||
std::vector<pcl::IndicesPtr> clusteredObstaclesSurfaces = util3d::extractClusters(
|
if(otherStuffIndices->size())
|
||||||
cloud,
|
{
|
||||||
otherStuffIndices,
|
std::vector<pcl::IndicesPtr> clusteredObstaclesSurfaces = util3d::extractClusters(
|
||||||
clusterRadius,
|
cloud,
|
||||||
minClusterSize);
|
otherStuffIndices,
|
||||||
|
clusterRadius,
|
||||||
|
minClusterSize);
|
||||||
|
|
||||||
// merge indices
|
// merge indices
|
||||||
obstacles = util3d::concatenate(clusteredObstaclesSurfaces);
|
obstacles = util3d::concatenate(clusteredObstaclesSurfaces);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user