Giter Site home page Giter Site logo

Comments (7)

PeiliangLi avatar PeiliangLi commented on June 12, 2024

if it fails to obtain the newest image, the measurement will be empty, it won't enter vins.processImage()

from vins-mobile.

guohengkai avatar guohengkai commented on June 12, 2024

Sorry, maybe I have not expressed clearly. In the function processImage(), the "image" is first used to extract features. Then from L459-486, the program tries to obtain processed image from image_pool and replace the "image" with it. And finally the "image" will be shown on the view.

When failed to do so, the "image" will be the original one, whose timestamp is newer than that in the image_pool. So there maybe a jump on timestamp, right?

from vins-mobile.

PeiliangLi avatar PeiliangLi commented on June 12, 2024

The replace is only for AR visualization, because we need show the image where the pose is solved by vins.
The image will never be the origin one, because the image_pool is always non-empty.
image

from vins-mobile.

guohengkai avatar guohengkai commented on June 12, 2024

Thanks for your response. The image_pool is indeed always non-empty, but the vins_pool may be. This is what the problem is.

from vins-mobile.

PeiliangLi avatar PeiliangLi commented on June 12, 2024

vins_poll cannot be empty, only pop it when the size > 1
image

from vins-mobile.

guohengkai avatar guohengkai commented on June 12, 2024

See if(!vins_pool.empty() && !image_pool.empty()). Only when they are not empty, the codes you showed will be executed. Or it will skip them.

from vins-mobile.

PeiliangLi avatar PeiliangLi commented on June 12, 2024

it only be empty in initialization process

from vins-mobile.

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.