AP_TECS: added get_max_sinkrate() API

This commit is contained in:
Andrew Tridgell 2021-06-01 15:32:21 +10:00
parent 77ee922473
commit a789bb372b
1 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,11 @@ public:
return _maxClimbRate;
}
// return maximum sink rate (+ve number down)
float get_max_sinkrate(void) const override {
return _maxSinkRate;
}
// added to let SoaringContoller reset pitch integrator to zero
void reset_pitch_I(void) override {
_integSEB_state = 0.0f;