Using the gravity vector to verify remapped IMU axes
After rotating or inverting an IMU board, a single flipped sign makes fused pitch or roll move opposite to physical motion.
How to test it
Rest the unit level to confirm gravity aligns with the expected positive axis, then apply small pitch, roll, and yaw moves to check right-hand-rule signs.

ZHILIANHAI