mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
OdomF2M/Icp: fixed substracting points when normals are not used
This commit is contained in:
@@ -952,7 +952,7 @@ Transform OdometryF2M::computeTransform(
|
||||
mapCloudNormals,
|
||||
pcl::IndicesPtr(new std::vector<int>),
|
||||
scanSubtractRadius_,
|
||||
scanSubtractAngle_);
|
||||
lastFrame_->sensorData().laserScanRaw().hasNormals()&&mapScan.hasNormals()?scanSubtractAngle_:0.0f);
|
||||
newPoints = frameCloudNormalsIndices->size();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user