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

mission: make mission item comparison less strict #650

Merged
merged 2 commits into from
Jan 23, 2019

Conversation

julianoes
Copy link
Collaborator

I think we shouldn't compare doubles and floats of mission items with == but only compare it to an accuracy that makes sense for the use case.
In case of latitude and longitude we are limited to 1e-7 anyway because the MAVLink transport happens over int at 1e7.

Included in this change is to make use of the comparison in the integration test.

I think we shouldn't compare doubles and floats of mission items with ==
but only compare it to an accuracy that makes sense for the use case. In
case of latitude and longitude we are limited to 1e-7 anyway because the
MAVLink transport happens over int at 1e7.

Included in this change is to make use of the comparison in the
ingration test.
@julianoes julianoes merged commit 89cbac7 into develop Jan 23, 2019
@julianoes julianoes deleted the fix-mission-item-comparison branch January 23, 2019 15:28
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