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

navigator: bugfix to prevent NaN setpoints #13138

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Conversation

julianoes
Copy link
Contributor

Describe problem solved by the proposed pull request
The asinf function is NaN outside of -1 to 1. Therefore, it probably makes sense to constrain the input to prevent NaN setpoints further down the line.

Test data / coverage
It compiles 🤷‍♂️.

Could potentially fix #7510.

The asinf function is NaN outside of -1 to 1. Therefore, it probably
makes sense to constrain the input to prevent NaN setpoints further down
the line.
Copy link
Contributor

@sfuhrer sfuhrer left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me.

@dagar dagar merged commit ea35923 into master Oct 9, 2019
@dagar dagar deleted the pr-fix-inner-angle-nan branch October 9, 2019 14:36
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.

[Navigator] Fly away because of NaNs
3 participants