Comments (5)
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.
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.
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.
Exactly! That was what I thought. However, I have done some tests monitoring the average error reported in
err
variable bycv::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 betweenpnp_inlier_cnt
,F_inlier_cnt
andof_inlier_cnt
.
Hello, @rocomanmelli we have revise the inframe optimization workflow. The bug has been fixed. #6
from flvis.
Great! Now the system runs the entire rosbags. Thank you.
from flvis.
Related Issues (13)
- : Failed to load nodelet [/TrackingNodeletClass_loader] of type [flvis/TrackingNodeletClass] even after refreshing the cache: HOT 3
- [FATAL] [1632737727.144338183]: Failed to load nodelet '/LoopClosingNodeletClass_loader` of type `flvis/LoopClosingNodeletClass` to manager `flvis_nodelet_manager' HOT 3
- The program may exit early with an error when you play the bag at 2X speed HOT 2
- <flvis/KeyFrame.h> is missing HOT 4
- Where does loop closing feed back to the algorithm? HOT 3
- Error occur when I run "roslaunch flvis flvis_bag.launch" HOT 1
- Is this suitable for mobile robots with only three degree of freedom? HOT 3
- Could this be a bug? HOT 1
- Attempt to initialize an empty graph Segmentation fault (core dumped) HOT 29
- Current frame being used twice in viCorrectionFromVision HOT 1
- Loosely or tightly-coupled? HOT 1
- Build error 'fatal error: nav_msgs/Odometry.h: No such file or directory' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flvis.