Giter Site home page Giter Site logo

Comments (5)

Ttoto avatar Ttoto commented on June 7, 2024

I have never come across this situation before. I think there may be sth wrong with your g2o installation.
Have you tried the EuRoC dataset or our provided rosbag (named:melab_sn943222072828.bag)?

from flvis.

zouyajing avatar zouyajing commented on June 7, 2024

I reproduced the error before.

The pose are solved twice in the frame optimization.
If g2o provides very bad pose estimation in the first solver, it will delete all the edges and then start the second solver, which will initialize an empty graph.

For me, it happened when optical flow tracking is too bad and feature matching is totally wrong. My solution is to skip the frame if the quality of optical flow tracking is bad.

from flvis.

rocomanmelli avatar rocomanmelli commented on June 7, 2024

Exactly! That was what I thought. However, I have done some tests monitoring the average error reported in err variable by cv::calcOpticalFlowPyrLK in lkorb_tracking.cpp and I did not find anything strange till it just throws the g2o error. I have also saved the images with the landmarks on them and nothing seems to change drastically. And there is not anything abnormal in the differences between pnp_inlier_cnt, F_inlier_cnt and of_inlier_cnt.

from flvis.

Ttoto avatar Ttoto commented on June 7, 2024

Exactly! That was what I thought. However, I have done some tests monitoring the average error reported in err variable by cv::calcOpticalFlowPyrLK in lkorb_tracking.cpp and I did not find anything strange till it just throws the g2o error. I have also saved the images with the landmarks on them and nothing seems to change drastically. And there is not anything abnormal in the differences between pnp_inlier_cnt, F_inlier_cnt and of_inlier_cnt.

Hello, @rocomanmelli we have revise the inframe optimization workflow. The bug has been fixed. #6

from flvis.

rocomanmelli avatar rocomanmelli commented on June 7, 2024

Great! Now the system runs the entire rosbags. Thank you.

from flvis.

Related Issues (13)

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.