mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Flight/Stabilization: Make any throttle < 0 reset the pid integral windup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1933 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
5f601bf5ab
commit
dc10998152
@ -210,7 +210,7 @@ static void stabilizationTask(void* parameters)
|
||||
}
|
||||
|
||||
if(manualControl.Armed == MANUALCONTROLCOMMAND_ARMED_FALSE ||
|
||||
!shouldUpdate)
|
||||
!shouldUpdate || (attitudeDesired.Throttle < 0))
|
||||
{
|
||||
ZeroPids();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user