introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.84k stars 786 forks source link

Loop closures keep being detected even if robot is not moving (Localization mode) #1211

Closed matlabbe closed 9 months ago

matlabbe commented 10 months ago

Would have to revise that logic for localization mode (maybe by using the odometry cache links to see if previous node had a loop closure): https://github.com/introlab/rtabmap/blob/c27507bc772cfda34f6624d386ab2cd62d49e90d/corelib/src/Rtabmap.cpp#L1869-L1871

Same logic used for proximity detection here: https://github.com/introlab/rtabmap/blob/c27507bc772cfda34f6624d386ab2cd62d49e90d/corelib/src/Rtabmap.cpp#L2549-L2551