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

How to save estimated poses for each frame... #44

Open
amiltonwong opened this issue Nov 29, 2019 · 2 comments
Open

How to save estimated poses for each frame... #44

amiltonwong opened this issue Nov 29, 2019 · 2 comments

Comments

@amiltonwong
Copy link

Hi, authors,

I know that the estimated poses for each keyframe are saved as result.txt. However, how could I save the estimated poses for each frame? Is that portion of code written inside LDSO? If not, could you give some hints on how to modify the original code for getting the estimated poses for each frame?

THX!

@nonlinear1
Copy link

Have you found the way in which you save estimated poses for each frame?

@NikolausDemmel
Copy link
Contributor

I would have a look how the viewer does it, see PangolinDSOViewer::publishCamPose() which seems to get called for every frame. You can contrast it to PangolinDSOViewer::publishKeyframes().

Beware that for regular frames there is only 1 pose when it gets tracked and it isn't updated later, whereas for keyframes you have the initial tracked pose, then multiple updates, each time it is optimized in the sliding window, and then maybe even more updates later when it is refined with pose-graph-optimization. In particular if you have significant drift, the initial and the final pose for a keyframe can be very different. So overall, you need to be very careful what you actually evaluate when you want to look at all frames. For example AFAIK, the LDSO paper evaluates the final poses for keyframes when computing ATE.

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

No branches or pull requests

3 participants