From 9336fa9bd1fd125eed56cf123f19b331a3828155 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Sun, 14 Aug 2011 05:44:29 +0000 Subject: [PATCH] upped D filter to 6 git-svn-id: https://arducopter.googlecode.com/svn/trunk@3096 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/PID/PID.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/PID/PID.h b/libraries/PID/PID.h index 3fb32705d9..8def9e8d0e 100644 --- a/libraries/PID/PID.h +++ b/libraries/PID/PID.h @@ -8,7 +8,7 @@ #include #include // for fabs() -#define PID_FILTER_SIZE 4 +#define PID_FILTER_SIZE 6 /// @class PID /// @brief Object managing one PID control @@ -131,7 +131,6 @@ private: AP_Float16 _ki; AP_Float16 _kd; AP_Int16 _imax; - //uint8_t _filter_size; float _filter[PID_FILTER_SIZE]; uint8_t _filter_index;