-
-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mission: make mission item comparison less strict
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.
- Loading branch information
Showing
2 changed files
with
73 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters