Merge pull request #1883 from Asizon/itermRelaxCutoff

Iterm Relax Cutoff Update
10.7.0-preview
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",
"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": {
"message": "Absolute Control"
},

View File

@ -234,6 +234,10 @@ TABS.pid_tuning.initialize = function (callback) {
$('select[id="itermrelaxType"]').val(ADVANCED_TUNING.itermRelaxType);
$('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() {
var checked = $(this).is(':checked');

View File

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