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 use loadAll function ? #50

Open
Thomas-Fiolet opened this issue Mar 9, 2020 · 1 comment
Open

How to use loadAll function ? #50

Thomas-Fiolet opened this issue Mar 9, 2020 · 1 comment

Comments

@Thomas-Fiolet
Copy link

Hello everyone,

I need to load a map from a .bin file. I have found the "loadAll" function in FullSystem and have a few questions about it :

  • Is this function fully functional or is it just a basis for those who need to load information from a .bin file ?

  • And in which way am I supposed to use it ? I tried to add it in the "run_dso_kitti.cc" just before the main for loop but it crashes at the execution. More precisely, it crashes when the addActiveFrame function is called, and even more precisely in the setPrecalcFunction function, when trying to resize the targetPrecalc vector.

Thx a lot !

@NikolausDemmel
Copy link
Contributor

I personally haven't used it and it looks like it might not be up-to-date. I suspect @gaoxiang12 added it for LDSO development (I don't see it in DSO). It doesn't look like you can re-start the odometry. Maybe it was more an intermediate tool to test pose-graph optimization, or just to get the visualization for a saved run. Even for that I think it is not really complete at this stage, e.g. considering how it treats the poses:

        this->Tcw = SE3(Tcw);
        TcwOpti = Sim3(this->Tcw.matrix());

TLDR: Don't assume it is fit for any particular use case. You'd have to implement what you need yourself.

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

2 participants