anshan-XR-ROB / FILD

Fast and Incremental Loop closure Detection
22 stars 1 forks source link

段错误(核心已转储) #11

Open lizhuooo opened 3 years ago

lizhuooo commented 3 years ago

您好,我运行您的代码时,一进入几何验证就报段错误。具体是: std::vector<IndexedFeatureMatch> result = theia.Match(hash, hash_vec[top_indexs[j].second]); 这段代码执行不过去。 请问可能是什么原因呢? 期待您的回复,谢谢!

anshan-XR-ROB commented 3 years ago

It could be a problem for theialib. You can try the latest version of our code, which does not need theialib.

lizhuooo commented 3 years ago

对于theialib来说可能是个问题。您可以尝试使用我们的代码的最新版本,而无需theialib。

Thank you for your reply, I've found the problem. At the end of the cascade_hasher.cpp, const auto& top1_itr = top_candidate.begin(); should be const auto top1_itr = top_candidate.begin();, so is the next line.