diff --git a/libraries/APM_Control/AP_PitchController.h b/libraries/APM_Control/AP_PitchController.h index 359ca12664..167afa48cb 100644 --- a/libraries/APM_Control/AP_PitchController.h +++ b/libraries/APM_Control/AP_PitchController.h @@ -44,6 +44,7 @@ public: AP_Float &kI(void) { return rate_pid.kI(); } AP_Float &kD(void) { return rate_pid.kD(); } AP_Float &kFF(void) { return rate_pid.ff(); } + AP_Float &tau(void) { return gains.tau; } void convert_pid(); diff --git a/libraries/APM_Control/AP_RollController.h b/libraries/APM_Control/AP_RollController.h index 81cd84665c..0c5d9301a7 100644 --- a/libraries/APM_Control/AP_RollController.h +++ b/libraries/APM_Control/AP_RollController.h @@ -51,6 +51,7 @@ public: AP_Float &kI(void) { return rate_pid.kI(); } AP_Float &kD(void) { return rate_pid.kD(); } AP_Float &kFF(void) { return rate_pid.ff(); } + AP_Float &tau(void) { return gains.tau; } void convert_pid();