mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-29 10:38:58 +08:00
For ROTATION_ROLL_90_PITCH_68_YAW_293 consider the angles as 90, 68.8 and 293.3 degrees to pre-calculate rotation. This matches the rotation matrix used in code. While at it, check not only the values are close enough but also the length of the vector.