rtabmap icon indicating copy to clipboard operation
rtabmap copied to clipboard

Z-axis drift in odom VINS

Open xxxy12 opened this issue 11 months ago • 2 comments

I want to use VINS as odom but find it always have drift in Z-axis and only in Z-axis, which is not occur to f2m(I move my robot in 2D ground).

The result of vins like: Image Image

This cause my floor split: Image

Compare with f2m as follows: Image Image

Does this caused by the opticalFlow method in consecutive frame used in vins? But why the drift only appear in Z-axis? How can I solve it? Looking forward to your response.

xxxy12 avatar Jan 22 '25 09:01 xxxy12

Here is my rtabmap_vins.db

xxxy12 avatar Jan 23 '25 01:01 xxxy12

It is difficult to say. The map is actually tilted ~30 degs, so the drift appears on all axes. F2M would probably do the same long-term. If the camera is always moving at the same height, fixed at same angle and the environment is mostly 2D, so that you could expect odometry to be always 2D, you can enable Reg/Force3DoF to remove completely the drift in Z.

matlabbe avatar Feb 03 '25 01:02 matlabbe