From 066ad0f8dadf2f59d2fc0878d4221ca56ab1cea0 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 18 Aug 2021 20:34:35 +1000 Subject: [PATCH] APM_Control: remove unused variables --- libraries/APM_Control/AP_PitchController.h | 1 - libraries/APM_Control/AP_RollController.h | 1 - 2 files changed, 2 deletions(-) diff --git a/libraries/APM_Control/AP_PitchController.h b/libraries/APM_Control/AP_PitchController.h index 6317ae59b6..074790fda9 100644 --- a/libraries/APM_Control/AP_PitchController.h +++ b/libraries/APM_Control/AP_PitchController.h @@ -50,7 +50,6 @@ private: bool failed_autotune_alloc; AP_Int16 _max_rate_neg; AP_Float _roll_ff; - uint32_t _last_t; float _last_out; AC_PID rate_pid{0.04, 0.15, 0, 0.345, 0.666, 3, 0, 12, 0.02, 150, 1}; float angle_err_deg; diff --git a/libraries/APM_Control/AP_RollController.h b/libraries/APM_Control/AP_RollController.h index 227d4b7b1a..446a0f7b05 100644 --- a/libraries/APM_Control/AP_RollController.h +++ b/libraries/APM_Control/AP_RollController.h @@ -55,7 +55,6 @@ private: AP_AutoTune::ATGains gains; AP_AutoTune *autotune; bool failed_autotune_alloc; - uint32_t _last_t; float _last_out; AC_PID rate_pid{0.08, 0.15, 0, 0.345, 0.666, 3, 0, 12, 0.02, 150, 1}; float angle_err_deg;