1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Remove pid sum limit so crashflip gets 100% throttle

This commit is contained in:
Bryce Johnson 2017-09-21 11:19:34 -05:00
parent ab44ad8811
commit 1016ec146c

View file

@ -616,9 +616,9 @@ static void applyFlipOverAfterCrashModeToMotors(void)
for (int i = 0; i < motorCount; i++) {
if (getRcDeflectionAbs(FD_ROLL) > getRcDeflectionAbs(FD_PITCH)) {
motorMix[i] = getRcDeflection(FD_ROLL) * pidSumLimit * currentMixer[i].roll * (-1);
motorMix[i] = getRcDeflection(FD_ROLL) * currentMixer[i].roll * (-1);
} else {
motorMix[i] = getRcDeflection(FD_PITCH) * pidSumLimit * currentMixer[i].pitch * (-1);
motorMix[i] = getRcDeflection(FD_PITCH) * currentMixer[i].pitch * (-1);
}
}
// Apply the mix to motor endpoints