Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z-axis drift in odom VINS #1440

Open
xxxy12 opened this issue Jan 22, 2025 · 2 comments
Open

Z-axis drift in odom VINS #1440

xxxy12 opened this issue Jan 22, 2025 · 2 comments

Comments

@xxxy12
Copy link

xxxy12 commented Jan 22, 2025

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
Copy link
Author

xxxy12 commented Jan 23, 2025

Here is my rtabmap_vins.db

@matlabbe
Copy link
Member

matlabbe commented Feb 3, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants