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

Use MPU9250 to walk a straight line, the Y-axis data of Position will deviate to the left or right #35

Open
ShihEn opened this issue Dec 15, 2020 · 2 comments

Comments

@ShihEn
Copy link

ShihEn commented Dec 15, 2020

Thank you for sharing the code

But I want to ask you some questions about the usage. Walking along a straight line, the Y-axis will be offset from the results of Position data analysis. Is this due to the offset caused by walking towards the magnetic north or the gyroscope when walking?
My data results
image
image

@pajaraca
Copy link

pajaraca commented Jan 5, 2021

Hi! I believe this is just integration errors. Your device is a low cost IMU with lot of noise, and the double integration in this code isn't powerfull enough to deal with it (even tough the results are awesome).
PS - this code do nothing with mag measurements, just accel and gyro are needed.

@celinlab
Copy link

Hi,

I have the same issue. Do you resolve it ?
Capture

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

3 participants