Closed mmajewsk closed 3 years ago
@mmajewsk
Thank you. You are right.
Frame::mnId has no use in ORB-SLAM2, so it doesn't affect functionality, but anyone who are actually using Frame::mnId for a specific reason with modified code should apply this patch.
So the
KeyFrame::mnId
is updated, butFrame::mnId
may repeat in new frames. I suggest updatingFrame::nNextId
same way as here https://github.com/AlejandroSilvestri/osmap/blob/master/src/Osmap.cpp#L595