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:
commit
d96b2319fa
3 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue