Hello Mathieu,
It has been a while since I have played around with the robot. I am playing around with the parameters that you have suggested here:
http://official-rtab-map-forum.206.s1.nabble.com/Trying-to-Understand-ICP-Registration-During-Localization-td7523.html#a8085The map looks great, even though there are less local links and global links. However, during localization, the robot sometimes just drifts away. I am wondering during localization, if external odometry is used, how is rtabmap doing pose estimation? It feels like when t265 start drifting, my current setup is not doing any pose estimation based on the keypoints of the map. Should we keep using t265 as external odom, or should we use the built in VO from rtabmap to do F2M pose estimation? If I use t265 odom, does setting Odom/Holonomic to false help at all? It seems like after PnP the output pose has some big y direction translation for some neighbor link refinement.
Previously I have been relying mostly on ICP, so now I am not too sure about doing mostly visual.
EDIT: Is the Vis parameter for rtabmap node responsible for the pose estimation? And how is local loop closure done? It seems like Green loop closure is working well, but yellow loop closure seems to shift the robot left and right.
I am currently uploading my db
here, it is a bit big, I can see a few problems such as d435's motion blur is getting a bit crazy. And I think Neighbor Link Refining is causing more drift comparing to the t265 odometry. and thus not optimized map looks much better than the optimized one.
Sincerely,
Sean Xu