Skip to content
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

Frame::mnId is being repeated while mapping on loaded map (Frame::nNextId is not updated) #12

Closed
mmajewsk opened this issue Jul 19, 2019 · 1 comment · May be fixed by #13
Closed

Frame::mnId is being repeated while mapping on loaded map (Frame::nNextId is not updated) #12

mmajewsk opened this issue Jul 19, 2019 · 1 comment · May be fixed by #13

Comments

@mmajewsk
Copy link

So the KeyFrame::mnId is updated, but Frame::mnId may repeat in new frames.
I suggest updating Frame::nNextId same way as here https://github.com/AlejandroSilvestri/osmap/blob/master/src/Osmap.cpp#L595

mmajewsk added a commit to mmajewsk/osmap that referenced this issue Jul 19, 2019
@AlejandroSilvestri
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants