1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 23:05:15 +03:00

Merge pull request #1883 from Asizon/itermRelaxCutoff

Iterm Relax Cutoff Update
This commit is contained in:
Michael Keller 2020-02-21 20:09:58 +13:00 committed by GitHub
commit d96b2319fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -3578,6 +3578,9 @@
"message": "Cutoff", "message": "Cutoff",
"description": "Cutoff value of the I Term Relax" "description": "Cutoff value of the I Term Relax"
}, },
"pidTuningItermRelaxCutoffHelp": {
"message": "Lower values suppress bounce-back after flips in low authority quads, high values increase high-rate turn precision for racing.<br>Set to 30-40 for racing, 20 for responsive freestyle builds, 10 for heavier freestyle quads, 3-5 for X-class."
},
"pidTuningAbsoluteControlGain": { "pidTuningAbsoluteControlGain": {
"message": "Absolute Control" "message": "Absolute Control"
}, },

View file

@ -234,6 +234,10 @@ TABS.pid_tuning.initialize = function (callback) {
$('select[id="itermrelaxType"]').val(ADVANCED_TUNING.itermRelaxType); $('select[id="itermrelaxType"]').val(ADVANCED_TUNING.itermRelaxType);
$('input[name="itermRelaxCutoff"]').val(ADVANCED_TUNING.itermRelaxCutoff); $('input[name="itermRelaxCutoff"]').val(ADVANCED_TUNING.itermRelaxCutoff);
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
$('.itermrelax input[name="itermRelaxCutoff"]').attr("max","50");
}
itermRelaxCheck.change(function() { itermRelaxCheck.change(function() {
var checked = $(this).is(':checked'); var checked = $(this).is(':checked');

View file

@ -537,6 +537,7 @@
</label> </label>
</span> </span>
<div class="helpicon cf_tip" i18n_title="pidTuningItermRelaxCutoffHelp"></div>
<span class="itermRelaxCutoff suboption"> <span class="itermRelaxCutoff suboption">
<input type="number" name="itermRelaxCutoff" step="1" min="1" max="100" /> <input type="number" name="itermRelaxCutoff" step="1" min="1" max="100" />
<label for="itermRelaxCutoff"> <label for="itermRelaxCutoff">