diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 9294dcc4..56f83905 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -3167,6 +3167,30 @@ "gyro_lpf_type_help": { "message": "BIQUAD offers better noise attenuation for a price of higher delay. PT1 has lower attenuation but offers lower delay." }, + "gyro_stage2_lowpass_type": { + "message": "Gyro Stage 2 LPF type" + }, + "gyro_stage2_lowpass_type_help": { + "message": "BIQUAD offers better noise attenuation for a price of higher delay. PT1 has lower attenuation but offers lower delay." + }, + "dterm_lpf_type": { + "message": "D-term LPF type" + }, + "dterm_lpf_type_help": { + "message": "BIQUAD offers better noise attenuation for a price of higher delay. PT1 has lower attenuation but offers lower delay." + }, + "dterm_lpf2_type": { + "message": "D-term Stage 2 LPF type" + }, + "dterm_lpf2_type_help": { + "message": "BIQUAD offers better noise attenuation for a price of higher delay. PT1 has lower attenuation but offers lower delay." + }, + "dterm_lpf2_hz": { + "message": "D-term Stage 2 LPF cutoff frequency" + }, + "dterm_lpf2_hz_help": { + "message": "Lowpass cutoff filter for D-term on ROLL and PITCH axises. 0 mean filter is disabled" + }, "tabFilteringAdvanced": { "message": "Other filters" }, diff --git a/js/data_storage.js b/js/data_storage.js index c559e6b1..0785f871 100755 --- a/js/data_storage.js +++ b/js/data_storage.js @@ -2,8 +2,8 @@ var CONFIGURATOR = { // all versions are specified and compared using semantic versioning http://semver.org/ - 'minfirmwareVersionAccepted': '2.3.0', - 'maxFirmwareVersionAccepted': '2.5.0', // COndition is < (lt) so we accept all in 2.2 branch, not 2.3 actualy + 'minfirmwareVersionAccepted': '2.4.0', + 'maxFirmwareVersionAccepted': '2.6.0', // COndition is < (lt) so we accept all in 2.2 branch, not 2.3 actualy 'connectionValid': false, 'connectionValidCliOnly': false, 'cliActive': false, diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 5cde626f..d21bfb9c 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -276,7 +276,7 @@
Gyro Dynamic Notch Filter |
@@ -284,21 +284,21 @@
|
---|---|
Gyro Dynamic Notch Width | |
Gyro Dynamic Notch Min Frequency | |
@@ -313,6 +313,13 @@ | |
+ | + + + | +
@@ -322,6 +329,13 @@ | |
+ | + + + | +
@@ -330,6 +344,20 @@ | |
+ | + + + | +
+ | + + + | +
@@ -443,21 +471,21 @@ | |
diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js index e193dcc6..60744ead 100755 --- a/tabs/pid_tuning.js +++ b/tabs/pid_tuning.js @@ -162,28 +162,6 @@ TABS.pid_tuning.initialize = function (callback) { FILTER_CONFIG.yawLpfHz = parseInt($yawLpfHz.val(), 10); }); - if (semver.gte(CONFIG.flightControllerVersion, "2.2.0")) { - $('.requires-v2_2').show(); - } else { - $('.requires-v2_2').hide(); - } - - if (semver.gte(CONFIG.flightControllerVersion, "2.2.2")) { - $('.requires-v2_2_2').show(); - } else { - $('.requires-v2_2_2').hide(); - } - - if (semver.gte(CONFIG.flightControllerVersion, "2.3.0")) { - $('.requires-v2_3').show(); - } else { - $('.requires-v2_3').hide(); - } - - if (semver.lt(CONFIG.flightControllerVersion, "2.2.0")) { - $('[name=ff]').prop('disabled', 'disabled'); - } - if (!FC.isRpyFfComponentUsed()) { $('.rpy_ff').prop('disabled', 'disabled'); } |