Skip to main content

REFINE_TURN_DEG

Constant REFINE_TURN_DEG 

Source
pub const REFINE_TURN_DEG: f64 = 30.0;
Expand description

Where neighbouring points of a response differ by more than this turn (degrees) or this change of magnitude (dB), a sharp resonance may lie between them: refinement measures their middle too. A first-order lag turns by at most 5 degrees between two of the 60 points of loop_frequencies (9.4 % apart), the velocity loop’s delays by about 17 degrees at 2 kHz; a resonance with 1 % damping turns by 180 degrees within 2 % of its frequency.