mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
upped D filter to 6
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3096 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
312c0e6b3b
commit
d192ceb8f8
@ -8,7 +8,7 @@
|
||||
|
||||
#include <AP_Common.h>
|
||||
#include <math.h> // 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user