mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Lower PID limit
This commit is contained in:
parent
ce2067ae94
commit
989af08c10
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ static void pidBetaflight(const pidProfile_t *pidProfile, uint16_t max_angle_inc
|
|||
DTerm = Kd[axis] * delta * tpaFactor;
|
||||
|
||||
// -----calculate total PID output
|
||||
axisPID[axis] = constrain(lrintf(PTerm + ITerm + DTerm), -900, 900);
|
||||
axisPID[axis] = constrain(lrintf(PTerm + ITerm + DTerm), -800, 800);
|
||||
} else {
|
||||
if (pidProfile->yaw_lpf_hz) PTerm = pt1FilterApply4(&yawFilter, PTerm, pidProfile->yaw_lpf_hz, getdT());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue