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

Commits on Jan 23, 2019

  1. 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.
    julianoes committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    013c1ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2423a41 View commit details
    Browse the repository at this point in the history