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

Add heading configuration option and magnetometer/compass telemetry #115

Open
blopa1961 opened this issue May 16, 2024 · 2 comments
Open

Comments

@blopa1961
Copy link

blopa1961 commented May 16, 2024

The Matek M10Q-5883 connected to the G747-HELI provides both GPS and magnetometer/compass (via the QMC5883L).
The problem is that once the magnetometer is enabled (yes, it works!) it interferes with the G474's onboard gyros because Rotorflight takes the readings from both sensors and mixes them, which results in a total loss of heading.
For this reason, it is now necessary to add an option to select from where the heading reading comes from, either the G474's gyros or the QMC5883L compass, but not both.
Also, there's no option for magnetometer/compass telemetry in Rotorflight Configurator's receiver menu, only "heading" from the gyro (or maybe the mixed values). A new receiver telemetry item with FrSky's telemetry ID 0x084F could be added.
I know I repeated this issue in rotorflight-configurator, but obviously both configurator and firmware need to be updated for this to work.

@rotorflight
Copy link
Owner

The magnetometer should improve the heading precision, certainly not mess up with it.
Probably your compass configuration / orientation is incorrect, or it is not calibrated correctly.

The telemetry is another thing totally. It depends on the Tx system if it support passing compass heading.

@blopa1961
Copy link
Author

blopa1961 commented Jun 13, 2024

Ok. I'l try to calibrate the magnetometer.
About the telemetry, I have 2 FrSky radios; both support compass telemetry, for which the expected sensor ID is 0x084F.

There's no Compass option in Rotorflight Configurator (2.0.0).
Compass

Is "heading" the correct option?
iNav LUA's compass does not work in my current config, maybe I'm doing something wrong...

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