pub fn anglewrap(alpha: f64, beta: f64) -> f64Expand description
(alpha, beta) -> theta, wrapped to [0, 2*pi) — the angle-tracking half of a
synchronous-reference-frame PLL: atan2(beta, alpha), shifted by a full turn when negative
instead of the usual (-pi, pi] range, so theta is a monotonically-sensible input to
park/clarke_park across a full mechanical/electrical revolution.