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

pose graph optimization testing failed! #73

Open
mshong0320 opened this issue Aug 31, 2021 · 2 comments
Open

pose graph optimization testing failed! #73

mshong0320 opened this issue Aug 31, 2021 · 2 comments

Comments

@mshong0320
Copy link

mshong0320 commented Aug 31, 2021

This is what I get from running badslam_test:

18:39:34.511 pose_graph_optimizer.cc:127 INFO| - Performing pose graph optimization ...
int g2o::csparse_extension::cs_cholsolsymb(const cs_di*, number_t*, const cs_dis*, number_t*, int*): cholesky failed!
Cholesky failure, writing debug.txt (Hessian loadable by Octave)

any idea what's wrong and how to fix it?

@mshong0320 mshong0320 changed the title Symbol lookup error pose graph optimization testing failed! Aug 31, 2021
@puzzlepaint
Copy link
Collaborator

I think that this happens if g2o and badslam are compiled with different, incompatible compiler options.
Quoting from the Readme:

If the Optimization.PoseGraphOptimizer test crashes, for example with an error message like "Cholesky failure", then please verify that your build of g2o has the BUILD_WITH_MARCH_NATIVE CMake option set to ON, and that BAD SLAM actually uses this install of g2o.

@mshong0320
Copy link
Author

Got it thank you!

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