pub const SPEED_WINDOW_S: f64 = 0.5;Expand description
The span of the trailing window the vertical speed is fitted over, s: a straight line by least squares through the samples in it. HPR Sim’s choice: long enough to average a barometer’s noise over about 10 samples at 20 Hz, short against a boost of a few seconds.