Sensor fusion: Euler↔quaternion conventions, calibration guidance, MMR mounting note - #13
Merged
Merged
Conversation
Field-verified findings from the MetaWear app's sensor-fusion work (paired Euler-vs-quaternion captures on fw 1.7.x NDoF, all angles agreeing under 1 degree at two static poses): - Euler <-> quaternion relationship: heading is the classic ZYX yaw, but the firmware's pitch is the NEGATED classic roll about x and its roll the NEGATED classic pitch about y. Textbook formulas put tilts in the wrong columns with the wrong signs. - Observed Euler ranges (heading 0-360, pitch +/-180, roll +/-90) and the fact that yaw duplicates heading sample-for-sample. - Calibration: per-sensor motions (gyro still, accel on each face, mag figure-8 away from metal), accuracy as a live trust score, medium (2) as the record-worthy threshold - permanent all-high is not realistic indoors. - MMR mounting: IMU X/Y rotated 90 degrees about the face normal relative to the case; recommend tare-based rendering. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Field-verified companions to the app's sensor-fusion polish (MetaWear-API-Swift PR #25), in the same spirit as the MMS NAND logging semantics section:
🤖 Generated with Claude Code