tum-vision / LDSO

DSO with SIM(3) pose graph optimization and loop closure
GNU General Public License v3.0
670 stars 236 forks source link

How to use loadAll function ? #50

Open Thomas-Fiolet opened 4 years ago

Thomas-Fiolet commented 4 years ago

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 :

Thx a lot !

NikolausDemmel commented 4 years ago

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.