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

Compass: implement automatic compass orientation #8927

Merged
merged 16 commits into from
Jul 18, 2018

Commits on Jul 18, 2018

  1. Tools: Add quotes in ChibiOS waf file

    Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
    stephendade authored and tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    651a703 View commit details
    Browse the repository at this point in the history
  2. AP_AHRS: don't do yaw correction in DCM while calibrating compass

    this avoids applying bad compass yaw, and helps the compass
    calibration code
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    5b0b9ef View commit details
    Browse the repository at this point in the history
  3. AP_AHRS: added get_DCM_rotation_body_to_ned()

    this specifically asks for the DCM attitude, which will be used for
    the comass calibration to help determine compass orientation
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    1056e64 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1f67f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8170fbc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4acc06d View commit details
    Browse the repository at this point in the history
  7. AP_Compass: implement automatic compass orientation

    this automatically determines the compass orientation when doing a 3D
    compass calibration, if COMPASS_ROT_AUTO is enabled.
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    8b0f40b View commit details
    Browse the repository at this point in the history
  8. AP_Compass: improved orientation reporting

    and fail magcal if we fail orientation detection for an external
    compass
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    3c2e8ba View commit details
    Browse the repository at this point in the history
  9. AP_Compass: allow for runtime changes to SIM_MAG_DIA_?

    this makes for easier testing
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    b4c7d19 View commit details
    Browse the repository at this point in the history
  10. AP_Compass: allow diagonals and off-diagonals to be calculated on rot…

    … change
    
    this re-runs the fit on change in orientation
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    a5749c1 View commit details
    Browse the repository at this point in the history
  11. mavlink: extend MAG_CAL_REPORT

    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    f10e9fe View commit details
    Browse the repository at this point in the history
  12. AP_Compass: improved error reporting, check all compasses

    this uses extensions to the MAG_CAL_REPORT message to convey failures
    of orientation checking.
    
    It also checks all compasses, external or internal. It only tries to
    fix the orientation if it is external
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    d15a4ad View commit details
    Browse the repository at this point in the history
  13. AP_Compass: make COMPASS_ROT_AUTO take 3 values

    0 for disabled, 1 for check only, 2 for check and fix
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    196ba0e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a73492b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    15d2daa View commit details
    Browse the repository at this point in the history
  16. AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT

    request from Randy
    tridge committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    027beb0 View commit details
    Browse the repository at this point in the history