mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
The original implementation was `m_gyroOffset + (rotation - m_pose.Rotation())`, which means the first `RotateBy` should be using `-m_pose.Rotation()` (see `ResetPose()`). Java is already correct. This also adds new tests to catch this particular error.