mirror of https://github.com/ArduPilot/ardupilot
quick.fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1688 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
1da51e72ec
commit
240a3a2f2a
|
@ -113,10 +113,10 @@ public:
|
|||
float kD() const { return _kd.get(); }
|
||||
int16_t imax() const { return _imax.get(); }
|
||||
|
||||
void kP(const float v) { _kp = v; }
|
||||
void kI(const float v) { _ki = v; }
|
||||
void kD(const float v) { _kd = v; }
|
||||
void imax(const int16_t v) { _imax = abs(v); }
|
||||
void kP(const float v) { _kp.set(v); }
|
||||
void kI(const float v) { _ki.set(v); }
|
||||
void kD(const float v) { _kd.set(v); }
|
||||
void imax(const int16_t v) { _imax.set(abs(v)); }
|
||||
|
||||
float get_integrator() const { return _integrator; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue