Skip to content
Snippets Groups Projects
  1. Oct 22, 2014
  2. Oct 21, 2014
  3. Oct 20, 2014
  4. Oct 18, 2014
  5. Oct 17, 2014
  6. Oct 16, 2014
  7. Oct 15, 2014
    • Andrew Tridgell's avatar
      AP_AHRS: use a common function for updating the CD values · ed30c093
      Andrew Tridgell authored
      this ensures the wrapping of yaw is consistent between the 3 use cases
      ed30c093
    • Andrew Tridgell's avatar
      AP_AHRS: restore DCM attitude before update() · f61ae9e9
      Andrew Tridgell authored
      The DCM drift correction code uses the current attitude to calculate
      error values to update its gyro drift correction. If we were using EKF
      then without this patch the DCM code running as an alternative AHRS
      source would be using the EKF attitude for calculating the error
      value, leading to very bad gyro drift estimation
      f61ae9e9
    • Andrew Tridgell's avatar
      AP_AHRS: fixed calls to DCM in parent class · 0dcf5017
      Andrew Tridgell authored
      use_compass() and reset() are common to AP_AHRS_DCM and
      AP_AHRS_NavEKF. As AP_AHRS_NavEKF is a child of AP_AHRS_DCM, when we
      call use_compass() from within AP_AHRS_DCM we actually end up calling
      AP_AHRS_NavEKF::use_compass().
      
      This has the effect of disabling the compass in DCM when EKF is active
      and EKF has decided not to use the compass. That means that the DCM
      yaw (and in fact the whole attitude) can get badly off while EKF is
      enabled, making DCM an ineffective fallback if EKF fails.
      
      The fix is to call the specific class versions of use_compass() and
      reset()
      0dcf5017
  8. Oct 11, 2014
  9. Oct 10, 2014
  10. Oct 09, 2014
  11. Oct 07, 2014
  12. Oct 06, 2014
  13. Oct 04, 2014
  14. Oct 03, 2014
Loading