-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Compass calibration #6947
Comments
I found these useful especially the part where you have the GPS tilted: I assume you have the connector to the rear. That's supposed to be the way the BN880 is mounted. |
Hello breadoven, |
Hello again, And thank you breadoven, your references seem to have lead me to solution.
|
The BN880 compass module supposedly has an arrow on it but it's hidden by the GPS that's stuck on top. Shouldn't matter though if you allow for it in the settings. https://www.unmannedtechshop.co.uk/product/beitian-bn-880-gps-compass-module/ |
Well yes, and exactly this picture makes me don't understand why CW90 works for me and CW270 for others... This should be either 0 or 180... Maybe the sensor is mounted 90 degree different to the board in reality than indicated on this picture, or I'm getting something terribly wrong. Anyways the settings I posted before yield a bulletproof orientation indication, at least in hand, so it'll work like that I believe. Once it proven to be good out in the field, I'll mark this thread as closed. |
By the aboves, now it works in hand, and RTH in the field too. |
Hello,
Sorry if this is not the right place to ask but I'm struggling with compass, since my module is in angle with the FC. The compass module is 15 degree tiled to the FC (in order to have a better GPS orientation to the sky in most long-range flying conditions.) This is a simple 6inch quad.
So after playing around with orientation (flip cw90 works best) and calibrating, the following result I can achieve:
When I point the quad to 0deg (North) it shows 0deg. When I turn it to 90deg it shows 120-is. When I point it to 180 it shows correct 180. The other half is the same non-linearity.
If I point the quad to 0deg, and pitch it, the heading goes off. (The pitch affect the heading reading.)
I suppose it is due to the tilted module.
I find no way to fix it.
I tried the mag alignments (flip/nonflip 0,90,180,270), the above mentioned works best.
I was playing with align_mag_pitch etc values, without luck (no documentation I found on that).
I tried align_mag_pitch 1950 and 1650 and align_mag_yaw 90, but it was always doing some nonsense.
The module is a BN-880.
The FC is a Matek 405 clone (Eachine)
I tried INAV 2.6.0 and 2.6.1 the results are the same.
Any advice or a clear info on align_mag_... settings would be welcomed.
The text was updated successfully, but these errors were encountered: