Document the Alignment Tool wizard and automatic compass orientation detection - #15
sensei-hacker wants to merge 7 commits into
Conversation
Covers the new mag-calibration-spin feature from inav#11708: what it does, that it only covers compass-to-FC alignment (not FC-to-airframe alignment), and that it's unavailable on F722-based boards (256KB RAM, at the MCU_RAM_SIZE > 256 build gate). Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
PR Summary by QodoDocument automatic compass orientation detection
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history |
|
I hope that this isn't too much of an ask, but would it be possible to make sure that each new sentence belongs on its own line? |
… docs Expands the alignment-tool-tab stub into a decision-first guide covering the wizard's four hardware-dependent paths (RAM-capable vs RAM-constrained, with vs without a magnetometer), since getting the order wrong wastes a calibration spin. Cross-links compass.mdx, calibration-tab.mdx, and 04-accel-calibration.mdx instead of duplicating manual-alignment guidance that's now superseded by the wizard. Also simplifies the RAM-gating explanation in compass.mdx to name the affected boards plainly instead of implementation details (sample buffer, compiled out). Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
sure. Is that a Docusaurus thing, or ... ? |
Splits several two-sentence lines introduced in the previous commit, per robotgoat's review request on this PR. Also fixes the pre-existing "Alignemnt" typo in the alignment-tool-tab.mdx image alt text, matching upstream master's independent fix to the same line. Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4 # Conflicts: # docs/04-inav-configurator/alignment-tool-tab.mdx
Captured live via CDP against a connected H7 board (RAM-capable, with magnetometer): the tab overview, both common wizard steps, the RAM-capable+mag finishing dialog, and the manual compass wizard's east-facing step. Replaces the old pre-wizard placeholder image and corrects the finishing-dialog quote to match the exact captured copy. Also fixes a broken link found via `docusaurus build`: the intro pointed at a nonexistent ./setup-tab.mdx -- that tab is now called Status, per the live Configurator and status-tab.mdx's frontmatter. RAM-constrained (F405/F411/F722) and no-magnetometer screenshots still need different hardware than what's connected this session. Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
The RAM-class split didn't matter for boards with no magnetometer -- both classes run the same two steps and finish identically -- so collapse the old 4-way split (2 RAM classes x with/without mag) into 3 cases, decided compass-first: no magnetometer at all, then (only if one is fitted) RAM-capable vs RAM-constrained. Also fixes issues found in a fresh read-through: reconciles "compass"/"magnetometer" terminology, reorders the order-matters info box to match the RAM-capable-first convention used everywhere else, replaces a vague "described below" forward-reference with the actual step name, and fixes a singular/plural mismatch between link text and headings. Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
Captures the two scenario finishing dialogs that had no matching hardware in the previous pass, completing screenshot coverage for all three documented cases. Claude-Session: https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4
Summary
docs/04-inav-configurator/alignment-tool-tab.mdx), covering all four hardware-dependent paths: RAM-capable vs. RAM-constrained boards, each with and without a magnetometer fitted. States up front which order to do board alignment vs. compass calibration in, since doing it backwards wastes a calibration spin.compass.mdx,calibration-tab.mdx, and04-accel-calibration.mdxto the new wizard page instead of leaving them as manual-only instructions.Alignment-Tool-Tab.md,Calibration-Tab.md,GPS-and-Compass-setup.mdnow point at this page instead of duplicating the walkthrough.Test plan
compass_orientation.c,common_post.h) and theinav-configuratorwizard implementation (magnetometer.js/.html,calibration.js,locale/en/messages.json) on the linked branches.https://claude.ai/code/session_01BUNPAbSF46z9QMPqTVWjv4