-
Notifications
You must be signed in to change notification settings - Fork 524
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
Adding LoopClosure checker to serialize a posegraph correctly #182
base: melodic-devel
Are you sure you want to change the base?
Adding LoopClosure checker to serialize a posegraph correctly #182
Conversation
Just to verify before I review: are you saying this 100% fixed your error? |
Yes, so far it always worked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept is good, lets rename all the variables though to be clear.
I’m thinking something like optimizer_cached
.
Can you add a sentence or two in the readme about “hey, it won’t serialize until a loop closure attempt has been triggered for performance caching reasons”
Hi, any updates? |
Hey sorry for a such delay, had a crazy week. I have updated the code now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm debating right now what to do about this -- since we change the serialization signature, I'm not sure if this will corrupt everyone's files. Have you tried to deserialize a file that was generated before this change into this now new version? I see there's versioning: https://stackoverflow.com/questions/23230369/boost-class-serialization-change-in-member-types such that we could have new files set to this version, but if missing, then old files will just ignore that field with the |
But to use the version, how would you add a version? As it also needs to be serialized, isn't? Yes, I checked again and it will crash if you load the older serialised map |
Mhm. Alright here's what we can do (https://www.boost.org/doc/libs/1_53_0/libs/serialization/doc/tutorial.html search for string
Does that make sense? |
Yes, seems straightforward. I will do that tomorrow |
I have a question. In |
I don't understand the question. |
Any update? |
I am not sure that I did that correctly as I had a chance to look at karto code only today. I tested on my device and it did not allow to serialize the posegraph at the beginning and it was okay afterwards.