Skip to content

Commit

Permalink
Bug in creating reference pointcloud for ICP registration
Browse files Browse the repository at this point in the history
This bug has been already highlighted and well explained in these two links.
gisbi-kim#11
gisbi-kim#12
To check this - one can visualize the loop submap in RVIZ and can see the cluttered point cloud as it does not have correct registration.
  • Loading branch information
huawei-sai committed Jan 30, 2023
1 parent 321cb4b commit 6bc5e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/laserPosegraphOptimization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ void loopFindNearKeyframesCloud( pcl::PointCloud<PointType>::Ptr& nearKeyframes,
continue;

mKF.lock();
*nearKeyframes += * local2global(keyframeLaserClouds[keyNear], keyframePosesUpdated[root_idx]);
*nearKeyframes += * local2global(keyframeLaserClouds[keyNear], keyframePosesUpdated[keyNear]);
mKF.unlock();
}

Expand Down

0 comments on commit 6bc5e3b

Please sign in to comment.