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

EKF: Miscellaneous updates for EKF2 and EKF3 #6288

Closed
wants to merge 38 commits into from

Commits on May 24, 2017

  1. AP_NavEKF3: Improve GPS reference height estimator

    Fix rounding error bug preventing state from updating after initial convergence.
    Decouple GPS reference height from published EKf origin height.
    Add bitmask parameter to control update and publishing of GPS reference height.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    43622b2 View commit details
    Browse the repository at this point in the history
  2. AP_NavEKF2: Improve GPS reference height estimator

    Fix rounding error bug preventing state from updating after initial convergence.
    Decouple GPS reference height from published EKf origin height.
    Add bitmask parameter to control update and publishing of GPS reference height.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    256b3ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e93e422 View commit details
    Browse the repository at this point in the history
  4. AP_NavEKF3: add gyro bias state inhibit and rework index limit calcul…

    …ation
    
    Inhibiting gyro bias estimation during the initial tilt alignment speeds alignment.
    The calculation of the maxmum state index required has been modified so that it can handle all combinations of inhibited states.
    Limiting the maximum state index accessed by all EKF operations result in significant processing reductions when higher index states are not being used.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    e6bac5e View commit details
    Browse the repository at this point in the history
  5. AP_NavEKF3: Ensure Kalman gain calculatons respect deactivated states

    All Kalman gain calculations now explicity set gains for deactivated states to zero.
    Previous use of loops to set gains to zero have been replaced with more efficient memset operations.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    804bdfe View commit details
    Browse the repository at this point in the history
  6. AP_NavEKF3: Improve partitioning and efficiency of the covariance pre…

    …diction
    
    This patch ensures that covariance matrix entries for inactive states are always set to zero.
    It also halves the number of copy operations from the updated to stored matrix.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    ba5f6aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bc210ef View commit details
    Browse the repository at this point in the history
  8. AP_NavEKF2: Revert auto-code to original form and remove micro optimi…

    …sations
    
    To eliminate the possibility of editing errors, revert the covariance prediction auto-code to the original auto-code without the replacement fo the /2 and /4 operations. The compiler optimisations are able to correctly handle the /2 and /4 operations.
    
    Also use local variables for intermediate covariance calculations. The use of calss varaibles for these small arrays was unnecessary.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    e7be102 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    366e1f4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6bab31e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    31cd09b View commit details
    Browse the repository at this point in the history
  12. AP_NavEKF3: Make target covariance time step larger

    The target covariance time step has been increased from 10 to 12.5 msec to improve conditioning of the covariance prediction calculation.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    60d0fc7 View commit details
    Browse the repository at this point in the history
  13. AP_NavEKF3: Raise lower limit on del vel bias state variances

    This is required to prevent co-variance matrix errors due to long periods without movement causing height divergence.
    priseborough committed May 24, 2017
    Configuration menu
    Copy the full SHA
    1651360 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    700ba4a View commit details
    Browse the repository at this point in the history

Commits on May 26, 2017

  1. AP_NavEKF3: Improve protection for badly conditioned dVel bias covari…

    …ances
    
    If variance falls below desired minimum, set state noise to a larger value.
    If variance drops below safe value, set to desired minimum and reset off-diagonals to zero.
    priseborough committed May 26, 2017
    Configuration menu
    Copy the full SHA
    280876c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2017

  1. Configuration menu
    Copy the full SHA
    2343887 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2017

  1. Configuration menu
    Copy the full SHA
    c9bd13a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f200010 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    563e419 View commit details
    Browse the repository at this point in the history
  4. AP_NavEKF3: Fix comments

    priseborough committed May 30, 2017
    Configuration menu
    Copy the full SHA
    615fd69 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d032fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7924598 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ed7bd1c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    890d63c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b2a3584 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    724b836 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    600786d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    344ce19 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c1b295b View commit details
    Browse the repository at this point in the history

Commits on May 31, 2017

  1. Configuration menu
    Copy the full SHA
    2ad5a39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    def1e24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fa4a19 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2e2c44 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f1cf74 View commit details
    Browse the repository at this point in the history
  6. AP_NavEKF3: Change default value of EK3_OGN_HGT_MASK

    Turn off by default.
    Update parameter description.
    priseborough committed May 31, 2017
    Configuration menu
    Copy the full SHA
    ef5f0fd View commit details
    Browse the repository at this point in the history
  7. AP_NavEKF2: Change default value of EK2_OGN_HGT_MASK

    Turn off by default.
    Update parameter description
    priseborough committed May 31, 2017
    Configuration menu
    Copy the full SHA
    f79a38e View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2017

  1. Configuration menu
    Copy the full SHA
    2173665 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6994e62 View commit details
    Browse the repository at this point in the history