-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
651a703
Tools: Add quotes in ChibiOS waf file
stephendade 5b0b9ef
AP_AHRS: don't do yaw correction in DCM while calibrating compass
tridge 1056e64
AP_AHRS: added get_DCM_rotation_body_to_ned()
tridge d1f67f6
SITL: added diagonal, off-diagonal and orientation of SITL compass
tridge 8170fbc
AP_Math: added a comment on conventions for to_euler()
tridge 4acc06d
AP_Compass: support diagonal, off-diagonal and rotation in SITL
tridge 8b0f40b
AP_Compass: implement automatic compass orientation
tridge 3c2e8ba
AP_Compass: improved orientation reporting
tridge b4c7d19
AP_Compass: allow for runtime changes to SIM_MAG_DIA_?
tridge a5749c1
AP_Compass: allow diagonals and off-diagonals to be calculated on rot…
tridge f10e9fe
mavlink: extend MAG_CAL_REPORT
tridge d15a4ad
AP_Compass: improved error reporting, check all compasses
tridge 196ba0e
AP_Compass: make COMPASS_ROT_AUTO take 3 values
tridge a73492b
AP_Compass: fixed newline in statustext
tridge 15d2daa
AP_Compass: don't do auto-orientation if using ROTATION_CUSTOM
tridge 027beb0
AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT
tridge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Orientation 0 is a valid orientation, is there any mechanism to tell in the MAVLink2 message if we actually got an orientation sent to us? (The
old_orientation
andnew_orientation
should also have a MAVLink enum for GCS's to refer to (ideallyMAV_SENSOR_ORIENTATION
could be used))There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only by checking the orientation_confidence is non-zero