raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.31k stars 4.7k forks source link

"Track lost soon after initialisation, reseting..." keeps happening #975

Open Amer-Alhamvi opened 3 years ago

Amer-Alhamvi commented 3 years ago

So I have this problem with different OpenCV versions, and on 2 different platforms. I have boiled it to the following: The while loop in ORBmatcher.cc in line ~180 is always false since the first part "KFit != KFend" is stuck on false. although the second condition "Fit != Fend" toggles no problem.

Thus the return value nmatches = 0, thus the boolean bOK is set to false in line 310 of Tracking.cc and the mState=LOST.

This is how far I could investigate, a newbie here sorry :) If any one knows the solution or have faced a similar problem before I would appreciate your feedback.

thebirdgr commented 1 year ago

Hi @Amer-Alhamvi Did you manage to solve it?

withnoerr commented 2 months ago

Hi @Amer-Alhamvi Did you manage to solve it?

Did you solve it? I have the same problem. The camera is zed2i