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

Yaw takes a long time to stabilise after excitment #4

Open
joeholdsworth opened this issue Mar 21, 2019 · 2 comments
Open

Yaw takes a long time to stabilise after excitment #4

joeholdsworth opened this issue Mar 21, 2019 · 2 comments

Comments

@joeholdsworth
Copy link

Hi,

Firstly thank you for developing these boards they are great for someone like me. I have committed the design to my own PCB and I'm now in the process of testing it.

I am having a problem with yaw value taking a long time to stabilise after moving the device in yaw, it carry's on moving long after the initial excitement. Pitch and Roll look good.

I have the hard and soft iron calibration as per your example arduino code. Strangely without performing the calibration this sometimes doesn't happen and things look much better.

The update rate is 100Hz for the magnetometer and 170Hz for the accel and gyro. The fusion update rate is 500Hz although I have tried 1kHz and the problem seems to be worse.

For the magnetometer input into the Madgwick what should the magnetometer values range from, -1 -> +1 after scaling?

Thanks for your time,

Joe.

@kriswiner
Copy link
Owner

kriswiner commented Mar 21, 2019 via email

@joeholdsworth
Copy link
Author

joeholdsworth commented Mar 21, 2019 via email

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