mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
- setParameters() and setCutoffFreq() sanity check all input - on invalid configuration disable filter and leave in safe state - constrain cutoff frequency to Nyquist rather than disabling the filter - allow configuring only time constant directly - add new update() method with dt that also recomputes parameters if necessary - filter update don't allow invalid data (NAN, etc) to propagate