-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the line "loopFindNearKeyframesCloud(cureKeyframeCloud, _curr_kf_idx, 0, _loop_kf_idx);" works as it should be? #7
Comments
For line 433, I had expected it works like virtual icp between two point clouds |
Thanks for your reply! @gisbi-kim I followed the link you mentioned above and understood the fact that adding a loop constraint is equal to the case of consecutive frame-to-frame ICP. But in my opinion, what i mean is quite different from what is in your link.
In the code above, the cureKeyframeCloud is a point cloud scan corresponding to the keyframe index _loop_kf_idx. And the targetKeyframeCloud is a submap which consists of scans from many keyframe poses surrounding the _loop_kf_idx keyframe pose. So you use ICP to calculate the transform between the target keyframe (an old keyframe where loop closure was found between the current keyframe and it) and the submap surrounding the target keyframe. Should there be a transform between the current keyframe and the submap surrounding the target keyframe? |
@gisbi-kim Sorry for my poor English, and thanks for your immediate reply! Yes! This plot is the same as what I thought. I try to explain myself more clearly. It seems that line 433 doesn't extract the scan relative to the _curr_kf_idx keyframe. Because the function |
@QiMingZhenFan ps.
|
Hi, thanks for your excellent contribution!
When I learned your code, I wondered if line 433 in laserPosegraphOptimization.cpp(mentioned below) works well as it's supposed to be. In my opinion, we should extract the point cloud in the global frame corresponding to "_curr_kf_idx" in this step. However, the function "loopFindNearKeyframesCloud" doesn't use the second parameter. Is there a mistake or I have a wrong understanding?
Looking forward to your reply. Thanks a lot!
SC-A-LOAM/src/laserPosegraphOptimization.cpp
Line 433 in f088000
The text was updated successfully, but these errors were encountered: