Files
ardupilot/libraries/AP_Math
Peter BarkerandLeonard Hall bc7fe903b1 AP_Math: correct range of Vector2.angle() method
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>
2025-06-25 17:27:26 +10:00
..
…
…
2025-06-23 15:05:55 +09:00
2025-06-23 15:05:55 +09:00
…
…
…
…
…
…
…
…
…
…