ORB_SLAM2 icon indicating copy to clipboard operation
ORB_SLAM2 copied to clipboard

Monocular ORB SLAM fails on KITTI sequence 09

Open mengweiren opened this issue 6 years ago • 8 comments

Hi,

I tested the monocular ORB SLAM on KITTI dataset, but it failed to detect a loop in sequence 09. The predicted result and the ground truth is shown in the figure below (after alignment with the groundtruth using rotation, translation and scaling), which is different from the posted one in your original paper. Can you please explain the reason here? And what can I do to fix the problem? image By the way I ran the code ORB SLAM2 without modification but with monocular mode on Ubuntu 18.04.

Appreciate any advice and comments here, thanks!

mengweiren avatar Feb 04 '19 16:02 mengweiren

In the paper, the author said the system not always detect the loop. You can check it out and re-try the dataset.

tyuownu avatar Feb 16 '19 08:02 tyuownu

hi,your predicted result in this figure is all the pose or only the keyframe? how to save all the pose ? could you give me some advise? thanks!

RyanMiao11 avatar Jun 16 '20 02:06 RyanMiao11

@RyanMiao11 To save all the poses for monocular SLAM, you should do two things:

  1. use SaveTrajectoryKITTI in the example file instead of SaveKeyFrameTrajectoryTUM
  2. Remove these lines:
if(mSensor==MONOCULAR)
{
    cerr << "ERROR: SaveTrajectoryKITTI cannot be used for monocular." << endl;
    return;
}

from the SaveTrajectoryKITTI function

stolpa4 avatar Jun 16 '20 05:06 stolpa4

ok,thank you!

RyanMiao11 avatar Jun 17 '20 01:06 RyanMiao11

@stolpa4 I tried doing that but the scale of the results is significantly different than ground truth. Did you face the same issue?

Shantnu12345 avatar Nov 19 '21 00:11 Shantnu12345