-
Notifications
You must be signed in to change notification settings - Fork 370
Auto alignment tool #2158
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
base: master
Are you sure you want to change the base?
Auto alignment tool #2158
Conversation
|
@shota3527 You and maybe @breadoven may be the only two people who understand the math needed to get two parts of this production-ready. Currently it's only POC level. Maybe you can provide some guidance on the math? This PR implements a wizard that has the user turn the plane 90 degrees, then lift the nose. Then based on the IMU data generated it automatically figures out the correct IMU alignment and compass alignment. Two issues: Then at line 725 of magnetometer.js there is a TODO due to a math question. The file magnetometer-ai.js has a suggestion I got from Claude, but it may be completely and utterly wrong. Does it look reasonable to you? |
|
/review |
|
/improve |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨
|
||||||||||||||||
Automatically detects and sets FC and compass alignment by having the user point the aircraft north and lift the nose.
alignment-tool-01.mp4
Not ready for merge. The PR is just to share the changes with Darkwingduck or other interested parties.