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

[maths.c] Add 2D and 3D Pythagorean functions #7746

Merged
merged 3 commits into from Feb 22, 2022
Merged

[maths.c] Add 2D and 3D Pythagorean functions #7746

merged 3 commits into from Feb 22, 2022

Conversation

JulioCesarMatias
Copy link
Collaborator

iNav contains operations of the type sqrt(sq(x) + sq(y)) (2D) and sqrt(sq(x) + sq(y) + sq(z)) (3D), this is basically Pythagorean normalization (basic math). This PR will only replace ready-made 2D and 3D functions included in the maths.c extension.

src/main/common/maths.c Outdated Show resolved Hide resolved
@DzikuVx DzikuVx added this to the 5.0 milestone Feb 22, 2022
@DzikuVx DzikuVx merged commit e24996e into iNavFlight:master Feb 22, 2022
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

2 participants