mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
TECS: remove throttle integral limits
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Roman Bapst
parent
987c320825
commit
3102b9f071
@@ -352,10 +352,6 @@ void TECS::_update_throttle_setpoint(const float throttle_cruise, const matrix::
|
||||
// During climbout, set the integrator to maximum throttle to prevent transient throttle drop
|
||||
// at end of climbout when we transition to closed loop throttle control
|
||||
_throttle_integ_state = integ_state_max;
|
||||
|
||||
} else {
|
||||
// Respect integrator limits during closed loop operation.
|
||||
_throttle_integ_state = constrain(_throttle_integ_state, integ_state_min, integ_state_max);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user