mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
fix iterm acclerator gain scale
This commit is contained in:
parent
d84aeea538
commit
c39c51f099
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static void scaleRcCommandToFpvCamAngle(void) {
|
|||
const int16_t rcCommandSpeed = rcCommand[THROTTLE] - rcCommandThrottlePrevious[index];
|
||||
|
||||
if(ABS(rcCommandSpeed) > throttleVelocityThreshold)
|
||||
pidSetItermAccelerator(0.0001f * currentPidProfile->itermAcceleratorGain);
|
||||
pidSetItermAccelerator(0.001f * currentPidProfile->itermAcceleratorGain);
|
||||
else
|
||||
pidSetItermAccelerator(1.0f);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue