You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe842d9
Browse filesBrowse the repository at this point in the historyBrowse files
AP_Math: test trim composition matches the rotation-matrix form
AP_AHRS now applies the board-mounting trim to a backend's attitude by
composing its quaternion with from_euler(trim).inverse() and deriving the
rotation matrix from the result, rather than keeping a separately-trimmed
matrix. Assert that this yields the same rotation matrix as the previous
form, R_backend * rotation_vehicle_body_to_autopilot_body, across a range
of attitudes and a trim that is non-zero on all three axes at once.
0 commit comments