mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Prior to this commit, the range of the function was -M_PI/2 to M_PI*3/2 (-90 to 270 degrees). This adjust the function range to be -M_PI to M_PI (-180 to 180 degrees) This makes the function consistent with methods such as "get_bearing_cd" Co-authored-by: Leonard Hall <leonardthall@gmail.com>