1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 13:25:24 +03:00

Yaw Response slider now works like pitch ansd roll

This commit is contained in:
ctzsnooze 2020-04-13 21:20:36 +10:00
parent 801ba71258
commit 00fc06bbb3

View file

@ -269,7 +269,7 @@ TuningSliders.calculateNewPids = function() {
// ff
ADVANCED_TUNING.feedforwardRoll = Math.round(this.PID_DEFAULT[4] * this.ResponseSliderValue);
ADVANCED_TUNING.feedforwardPitch = Math.round(this.PID_DEFAULT[9] * this.ResponseSliderValue);
ADVANCED_TUNING.feedforwardYaw = Math.round(this.PID_DEFAULT[14] * ((this.ResponseSliderValue - 1) / 3 + 1));
ADVANCED_TUNING.feedforwardYaw = Math.round(this.PID_DEFAULT[14] * this.ResponseSliderValue);
// master slider part
// these are not calculated anywhere other than master slider multiplier therefore set at default before every calculation