quick.fix

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1688 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-02-19 21:01:32 +00:00
parent 1da51e72ec
commit 240a3a2f2a
1 changed files with 4 additions and 4 deletions

View File

@ -113,10 +113,10 @@ public:
float kD() const { return _kd.get(); } float kD() const { return _kd.get(); }
int16_t imax() const { return _imax.get(); } int16_t imax() const { return _imax.get(); }
void kP(const float v) { _kp = v; } void kP(const float v) { _kp.set(v); }
void kI(const float v) { _ki = v; } void kI(const float v) { _ki.set(v); }
void kD(const float v) { _kd = v; } void kD(const float v) { _kd.set(v); }
void imax(const int16_t v) { _imax = abs(v); } void imax(const int16_t v) { _imax.set(abs(v)); }
float get_integrator() const { return _integrator; } float get_integrator() const { return _integrator; }