Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when loop closing #16

Closed
JajaIstso opened this issue Apr 23, 2018 · 1 comment
Closed

Segmentation fault when loop closing #16

JajaIstso opened this issue Apr 23, 2018 · 1 comment

Comments

@JajaIstso
Copy link

JajaIstso commented Apr 23, 2018

Hi all, hi @rubengooj,

I always get a segmentation fault during loop closure when running KITTI 00 Dataset and others (Using commit 5).
The error happens during optimizer.initializeOptimization() in the function MapHandler::loopClosureOptimizationCovGraphG2O(). It seems that somehow the information matrix is corrupted. It is set to 6x6 identity.

When I save the optimizer in g2o file there are strange values for information matrix.

What I expect is 1 0 0 0 0 0 1 0 0 0 01 0 0 0 1 0 0 1 0 1. This is the right upper side of the identity matrix.
What I get is 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0.

The segmentation fault could happen if the information matrix is not positive definite.
If I let it check with the function optimizer.verifyInformationMatrices() it returns false.

Did anybody had the same problem and solved it somehow?

Is there a specific g2o version (commit, tree) which should be used?

Thanks

@Yanjiqiang
Copy link

hi,I also encountered this problem, have you solved this problem? If so, how was it solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants