AP_TECS: add reset throttle I function

This commit is contained in:
Peter Hall 2021-09-08 18:49:36 +01:00 committed by Andrew Tridgell
parent 6116eaeb32
commit 98c5704b92

View File

@ -88,7 +88,12 @@ public:
void reset_pitch_I(void) {
_integSEB_state = 0.0f;
}
// reset throttle integrator
void reset_throttle_I(void) {
_integTHR_state = 0.0;
}
// return landing sink rate
float get_land_sinkrate(void) const {
return _land_sink;