mirror of https://github.com/ArduPilot/ardupilot
AC_PID: add const kP accessor
This commit is contained in:
parent
781c760245
commit
11ddf9f7c7
|
@ -98,6 +98,7 @@ public:
|
|||
void operator()(float p_val, float i_val, float d_val, float ff_val, float imax_val, float input_filt_T_hz, float input_filt_E_hz, float input_filt_D_hz);
|
||||
|
||||
// get accessors
|
||||
const AP_Float &kP() const { return _kp; }
|
||||
AP_Float &kP() { return _kp; }
|
||||
AP_Float &kI() { return _ki; }
|
||||
AP_Float &kD() { return _kd; }
|
||||
|
|
Loading…
Reference in New Issue