fix: Yaw inversion in web UI (P0 #38) #40
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "sl-firmware/yaw-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes P0 #38: yaw was spinning opposite to physical rotation in the Three.js model.
Root cause:
targetYawwas negated (-yaw * π/180) but the sign assumption was wrong — the firmware yaw (gz integration) and Three.jsrotation.ydirection already match. Removing the negate fixes the display.resetYaw()updated: yawRaw recovery formula flipped from-to+to match.Pitch and roll were unaffected.
Flash-tested all 5 PRs together. Builds, streams, no conflicts.