-
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
Weird indications of the compass #10688
Comments
What all is mounted within about 5 inches / 13cm of the magnetometer? Large power wires and buzzer will mess with the magnetometer. Also, either 62° or 50° seem like unlikely ways to mount a mag. Unless someone just tossed it inside the fuselage randomly. :). 0° or 180° is much more likely. One thing that will completely mess things up is when the compass alignment is set upside down relative to the gyro alignment. This process, listed as "emperical method", can be used to check for that and get it set up correctly: |
Good evening! Yes, the 62° or 50° are unlikely values for the compass alignment. |
I will check that empirical method in the next weekend. |
After turning the compass, do you recalibrate? |
In the inav configurator, does it turn when the plane tilts? |
My problem has been solved: following that empirical method, I have found the right GNSS unit orientation is CW0. It's strange that sometimes it happened that CW180flip was seemingly a good orientation and the compass was relative stable for a time period. Yes, after the last orientation setting I calibrated the compass again. |
I have installed Inav 8.0 on a Volantex Phoenix 2400 plane, FC Speedybee F405 Wing Mini, GPS unit MicoAir M10 ultra with QMC5883L compass.
I set the right alignment of the FC and of the compass, I calibrated the accelerometer and compass.
The heading indication was quite good initially, but often it changes radically up to 180˚.
How I proceed to fine adjust the compass:
On the flying field I direct the plane towards a reference object, in this case the church of a nearby village:
I connect the telemetry viewer on the tablet:
The orange line is the indicated heading and the red arrow line, pointed to that church is the actual heading.
Then I connect to the Inav Configurator on laptop in order to correct the magnetometer alignment (Bluetooth connection, the plane remains on that fixed position):
I think the difference between true and indicated heading is about 12˚, thus I change the yaw from the current 62˚ to 50˚. Then I press 'save and reboot'. It doesn't update immediately, so I repeated this task several times.
Finally, I got the updated yaw:
But the newly indicated heading is totally wrong:
These are the magnetometer plots as I rotated the plane a complete circle around yaw axis:
After that I was flying and checking the navigations modes. It flies well, maintains straight path while cruising, loiters on almost perfect circles. Nothing to complain. But the heading indications are still totally wrong:
The text was updated successfully, but these errors were encountered: