AC_PID: expose filt_hz as a AP_Float

this allows defaults to be overridden
This commit is contained in:
Andrew Tridgell 2017-01-09 20:52:02 +11:00
parent 2f100b0804
commit ccae8979c1

View File

@ -59,8 +59,8 @@ public:
AP_Float &kP() { return _kp; }
AP_Float &kI() { return _ki; }
AP_Float &kD() { return _kd; }
AP_Float &filt_hz() { return _filt_hz; }
float imax() const { return _imax.get(); }
float filt_hz() const { return _filt_hz.get(); }
float get_filt_alpha() const;
float ff() const { return _vff.get(); }