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

AP_HAL: protect against invalid values when calculating Jain's estimator #28822

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

andyp1per
Copy link
Collaborator

@andyp1per andyp1per commented Dec 7, 2024

For some reason I see this on 4.6 when using the FFT

Without it you get cnstring_nan on boot

Tested on my 5"

Copy link
Member

@IamPete1 IamPete1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This protection looks good, but I wonder if there is a underlying issue we should fix too.

@tridge tridge merged commit 1d6d112 into ArduPilot:master Dec 9, 2024
99 checks passed
@andyp1per andyp1per deleted the pr-dsp-nan branch December 10, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 4.6.0-beta2
Development

Successfully merging this pull request may close these issues.

4 participants