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

Inconsistent maps after loop closure, segfault at csv_export of landmarks #354

Open
MrBurnst opened this issue Feb 25, 2022 · 0 comments
Open

Comments

@MrBurnst
Copy link

Hello! I'm having trouble optimizing and exporting a merged map. I'm on the develop branch and following the multi-session use case from the wiki with sbk - aam - kfh - relax - lc -optvi on my own data of 6 individual sessions driving through some streets.

Up until pose graph relaxation everything works as expected, but after loop closure I'm faced with an inconsistent map, giving me hundreds of warnings of the sort
W0225 00:53:41.057857 3927939 check-map-consistency.cc:296] Landmark 99fa..0000 is observed twice from the same frame (42f6..0000), but the observations evaluate to [173 229] and [195 228] (distance of 22.0227) and threshold evaluates to 10

If I then try to export the map to csv files (I'm interested in the landmarks) using csv_export --csv_export_landmarks, it fails at the second mission with
F0225 00:56:22.783350 3927939 csv-export.cc:251] Check failed: it_vertex_id_to_index != vertex_id_to_index_map.end()

I tried all sorts of combinations of elq, rbl, rio, itl, kfh again before and after loop closure but to no avail. I can optimize the map with optvi but the warnings and failure remain. Any idea why that might be happening? thanks and thanks for the great toolbox!!

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

1 participant