allows main code to manually set the integrator value

This commit is contained in:
Jason Short 2012-01-03 10:28:26 -08:00
parent 7bef298a46
commit f6e268395f

View File

@ -113,6 +113,7 @@ public:
void kI(const float v) { _ki.set(v); }
void imax(const int16_t v) { _imax.set(abs(v)); }
float get_integrator() const { return _integrator; }
void set_integrator(float i) { _integrator = i; }
private:
AP_Var_group _group;