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

Question: about the imu data(acc, gyro, mag) which is desynchronized #52

Closed
mingrenzhu opened this issue Nov 11, 2022 · 4 comments
Closed

Comments

@mingrenzhu
Copy link

hello, I have a question about " can the fution algorithm process the desynchronized imu data ? ", thanks a lot.

@xioTechnologies
Copy link
Owner

If your sensor measurements are not synchronised then you would call FusionAhrsUpdate for each new gyroscope measurement, with with most recent measurements from the other sensors.

@mingrenzhu
Copy link
Author

well, i wonder whether i can do this, i call FusionAhrsUpdate for the new gyroscope, and if gyroscope time is large with acc and mag time, than can i set the acc and mag as zeros vector ?
thank you and hope your reply, cheers!

@xioTechnologies
Copy link
Owner

You should use the latest accelerometer and magnetometer measurements, even if that means reusing measurements. You should not pass in zero vectors.

@mingrenzhu
Copy link
Author

Got it, thanks a lot.

@mingrenzhu mingrenzhu changed the title Question: about the imu data(acc, gyro, mag) which is not desynchronized Question: about the imu data(acc, gyro, mag) which is desynchronized Nov 14, 2022
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