1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/// Tuning parameters for [`crate::AltitudeEstimator`].
///
/// The three gains define a 3rd-order observer with characteristic
/// polynomial `s³ + position_gain·s² + velocity_gain·s + bias_gain`.
/// A clean cascaded design places a damped position/velocity pair at
/// bandwidth `ω` and a slow real bias pole at `ω_b ≪ ω`:
///
/// ```text
/// position_gain = 2ζω + ω_b (1/s)
/// velocity_gain = ω² + 2ζω·ω_b (1/s²)
/// bias_gain = ω² · ω_b (1/s³)
/// ```
///
/// Routh-Hurwitz stability requires `position_gain · velocity_gain > bias_gain`.