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

Magnetometer tab alignment tool #1499

Merged

Conversation

kernel-machine
Copy link
Contributor

I'm sorry to open another PR for this feature, but in the original PR #1449 i must wait a lot of time until @ThisIsJustARandomGuy merges my changes, last time he took more than one month, so the development time was very slow.
I can understand also my multiple PR on @ThisIsJustARandomGuy branch, instead to do only one PR.

This PR contains the initial work done by @ThisIsJustARandomGuy plus my additions.

Few notes about the works done in this PR:

  • We have the alignment tool inside INAV Configurator

  • I've updated the TREEJS version from 0.72(that we use from cleanflight) to the latest, so the old JSON 3d models were not more supported, so i converted them to .glTF files (a more compatible format supported by a lot of 3d software).

  • We have also a new fallback model! (the cube shown when the UAV has not a 3d model)
    immagine

  • Some users like @rts18 tells me the importance to have also an FC alignment tool built-in. I've tested the tool with different FC orientation, and seems that the magnetometer align must be done referring to the flight controller and not the the UAV orientation.
    If for example you have changed your flight controller alignment, make your adjustment relative to the arrow on the FC and not to the UAV orientation.
    I've added a message that explain this.

@DzikuVx
Copy link
Member

DzikuVx commented Apr 5, 2022

awesome! merging!

@ThisIsJustARandomGuy
Copy link
Contributor

Thanks for taking over!

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

Successfully merging this pull request may close these issues.

None yet

3 participants