AP_TECS: add reset throttle I function
This commit is contained in:
parent
6116eaeb32
commit
98c5704b92
@ -88,7 +88,12 @@ public:
|
|||||||
void reset_pitch_I(void) {
|
void reset_pitch_I(void) {
|
||||||
_integSEB_state = 0.0f;
|
_integSEB_state = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// reset throttle integrator
|
||||||
|
void reset_throttle_I(void) {
|
||||||
|
_integTHR_state = 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
// return landing sink rate
|
// return landing sink rate
|
||||||
float get_land_sinkrate(void) const {
|
float get_land_sinkrate(void) const {
|
||||||
return _land_sink;
|
return _land_sink;
|
||||||
|
Loading…
Reference in New Issue
Block a user