DynaSLAM icon indicating copy to clipboard operation
DynaSLAM copied to clipboard

Odometry Only Output

Open risqiutama opened this issue 5 years ago • 1 comments

Is it possible to run your code with odometry function only (without full SLAM system, e.g. by disabling loop-closure)?

risqiutama avatar Apr 25 '19 17:04 risqiutama

Hi @risqiutama ! The simplest way to run the system without loop closure optimization would be to comment the call to CorrectLoop() function in LoopClosing::Run().

if(ComputeSim3())
{
         // Perform loop fusion and pose graph optimization
         // CorrectLoop();
}

In this way, the algorithm to detect the loop closures will be run but the pose graph optimization will not be performed. You could also not initialize the Loop Closing thread, but this would lead to more modifications in the code.

BertaBescos avatar Apr 26 '19 07:04 BertaBescos