mp3guy / Kintinuous

Real-time large scale dense visual SLAM system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

void Deformation::addCameraLoop(): Assertion `deformationGraph' failed.

fuxingyin opened this issue · comments

commented

Amazing work!
The code is compiled successfully. But the program unexpectedly finished with the error 'Kintinuous: /.../src/backend/Deformation.cpp:264: void Deformation::addCameraLoop(): Assertion `deformationGraph' failed. The program has unexpectedly finished.'
I wonder if the deformationGraph is not initialized before using. Looking forward to your reply.

Now that's an interesting error. For some reason the object isn't getting instantiated at https://github.com/mp3guy/Kintinuous/blob/master/src/backend/Deformation.cpp#L500

Not sure where to start debugging this. What data are you processing?

commented

I read the code and find out the reason. I use xtion to scan my room. By decreasing the value of '-dg' the program works my way sometimes. It seems like the place I scanned is not big enough and the pose graph is not initialised due to the value of variable poseCount is less than 4.

I have read your code ElasticFusion, another great work!
Thanks for your quick reply!

Yes, that makes sense. Kintinuous isn't meant for small loop closures, ElasticFusion will work much better there.

commented

Thanks for your time. You can close the question now. Keep following your work.