-
Notifications
You must be signed in to change notification settings - Fork 83
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
offline viewer does not optimize #70
Comments
Thanks for reporting the issue. |
@koide3 |
Hi! Same here when I used glim_offline_viewer to try optimization but nothing happened after adding loop and hitting the optimize button, without any warnings. I use Ubuntu 20.04 and no GPU. |
@CharlieV5 |
@koide3 |
Yes, the graph corruption issue is fixed by #92, and newly created maps should not cause this issue (hopefully). But, it would be good if we could fix an already created dump data on the offline viewer. I think I can revert the program and create a corrupted dump file from the bag files you previously provided to test the new feature. |
I have send the dump file to your e-mail. |
@CharlieV5 Could you check if it works on your side? |
Hi! I have git-pull the latest version of code and it works fine now! Thank you! |
Thank you for checking @CharlieV5 , and thank you for the fix @koide3 ! Since the problem is solved, I'll close this issue! |
Describe the bug
I have a large-scale map created using glim_rosbag in /tmp/dump.
There were some drift in Z-direction, which the loop could not be closed automatically during reconstruction stage.
I tried using glim_offline_viewer to explicitly make a loop constraint.
But the app only says 'optimizing...' but does not actually do any optimization.
I can still click and drag on the viewer, so surely there isn't any background processing going on.
If the optimization could not be performed, there should be at least some warning/error messages in the terminal.
One reason behind this bug could be that my factor graph was broken in the first place, due to errors like #65 . I had hidden errors (i.e. errors which are only shown in raw terminal, but not in iridescence viewer), like
Warning: Levenberg-Marquardt giving up because cannot decrease error with maximum lambda
which I presume it's from GTSAM.To Reproduce
Steps to reproduce the behavior:
glim_offline_viewer
to open offline viewer, and then load a map.Expected behavior
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: