Giter Club home page Giter Club logo

Comments (4)

matlabbe avatar matlabbe commented on June 22, 2024 1

Are you referring to that exportPoses?

void Rtabmap::exportPoses(const std::string & path, bool optimized, bool global, int format)

Internally, rtabmap would call optimizeCurrentMap to optimize poses when necessary.

A more convenient way to see/analyze optimized poses is to open Graph View in rtabmap-databaseViewer. You can move the iterations slider to see different steps of the graph optimizer (with 0 the actual odometry poses). The File menu option "Export poses..." will export poses that you can see in the Graph View.

The optimized poses is created only from nodes that are linked in the graph. All nodes not linked to graph are ignored. If the database has multiple unlinked mapping sessions, you can change the root ID to a node in a session you want to export poses.

About API documentation, it could be indeed improved! Most documentation efforts back in the days were put on the actual rtabmap standalone app itself and rtabmap_ros wiki (in particular the tutorials, examples, and demos), which most users were interested about. For a general idea of how the code works, I would refer to that paper.

from rtabmap.

matlabbe avatar matlabbe commented on June 22, 2024

The pose in Signature is the odometry pose. The optimized poses are computed online based on odometry poses and links. The optimized poses are also saved on exit in database's Admin table under opt_poses, and reloaded when re-opening the a map (in slam mode it is useful to give a first guess for optimization, for localization they should never changed).

from rtabmap.

gvasserm avatar gvasserm commented on June 22, 2024

Thank you for fast reponse) And where can I found the code that updates the pose for each signature from odometry to the optimized poses? I've seen some example in exportPoses(), however poses are generated only for specific signatures or nodes.

from rtabmap.

genawass avatar genawass commented on June 22, 2024

One more question: do you have some knowledge resource to better understand the code, since the code is not documented well, ie, there are no docstrings and comments in code

from rtabmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.