diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 9294dcc4..c025011c 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -3167,11 +3167,47 @@
"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"
},
"mainFilters": {
- "message": "Main filters"
+ "message": "Gyro filters"
+ },
+ "rpmFilters": {
+ "message": "Gyro RPM filters"
+ },
+ "dtermFilters": {
+ "message": "D-term filters"
+ },
+ "rpm_gyro_filter_enabled": {
+ "message": "Gyro RPM filter (requires ESC telemetry)"
+ },
+ "rpm_gyro_min_hz": {
+ "message": "Gyro RPM filter min. frequency"
},
"acc_lpf_type": {
"message": "Accelerometer LPF type"
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 a2bafea6..210926b2 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,23 @@
|
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+ |
+
|
@@ -330,6 +354,41 @@
|
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
@@ -347,7 +406,7 @@
-
+
|
@@ -366,78 +425,6 @@
-
- Static Notch Filters (deprecated)
-
@@ -446,54 +433,54 @@
-
+
|
|
-
+
|
|
-
+
|
|
-
+
|
|
-
+
|
|
-
+
|
|
-
+
|
|
-
+
|
@@ -515,21 +502,21 @@
|
-
+
|
|
-
+
|
|
-
+
|
diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js
index e193dcc6..fbb2f9bb 100755
--- a/tabs/pid_tuning.js
+++ b/tabs/pid_tuning.js
@@ -108,6 +108,12 @@ TABS.pid_tuning.initialize = function (callback) {
// translate to user-selected language
localize();
+ if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) {
+ $('.requires-v2_4').show();
+ } else {
+ $('.requires-v2_4').hide();
+ }
+
helper.tabs.init($('.tab-pid_tuning'));
helper.features.updateUI($('.tab-pid_tuning'), BF_CONFIG.features);
@@ -162,28 +168,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');
}
| |