diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2022-10-06 16:14:42 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2022-10-06 16:14:42 +0300 |
commit | 6513757be34096f87577fc17bb5f76e7870225e3 (patch) | |
tree | 4ed9d002122bea09452abf9a9b59d893066ea64e | |
parent | fbf56ac3b0c5f391b20f7e9a495a1362c78c6799 (diff) |
add dynamic_gyro_notch_mode to GUI
-rwxr-xr-x | _locales/en/messages.json | 6 | ||||
-rw-r--r-- | src/css/tabs/pid_tuning.css | 5 | ||||
-rw-r--r-- | tabs/pid_tuning.html | 9 |
3 files changed, 20 insertions, 0 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 3bfd2856..f690216f 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -4340,5 +4340,11 @@ }, "throttle_scale_help": { "message": "Allow to limit effective power fed to the motors. Throttle Scale 1 mean there is no power limiting. Throttle Scale 0.5 means throttle position will be cut in half before passed to the motors." + }, + "pidTuning_MatrixFilterType": { + "message": "Matrix Filter Type" + }, + "pidTuning_MatrixFilterTypeHelp": { + "message": "Defines the type of Matrix Filter. Default 2D filter is recommended for most users. 7-inch and larger quads may benefit from 3D filter." } } diff --git a/src/css/tabs/pid_tuning.css b/src/css/tabs/pid_tuning.css index fb744c92..21cb7e7b 100644 --- a/src/css/tabs/pid_tuning.css +++ b/src/css/tabs/pid_tuning.css @@ -313,6 +313,11 @@ float: left; } +.tab-pid_tuning .pidTuning_select { + clear: left; + padding: 2px 6px 2px 1px; +} + .tab-pid_tuning .number input { width: 50px; padding-left: 3px; diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 0f1fafb6..df37100c 100644 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -357,6 +357,15 @@ </td> </tr> <tr> + <th data-i18n="pidTuning_MatrixFilterType"></th> + <td> + <div class="pidTuning_select"> + <select id="matrixFilterType" data-setting="dynamic_gyro_notch_mode" /> + <div for="matrixFilterType" class="helpicon cf_tip" data-i18n_title="pidTuning_MatrixFilterTypeHelp"></div> + </div> + </td> + </tr> + <tr> <th data-i18n="pidTuning_MatrixFilterMinFrequency"></th> <td> <div class="pidTuning_number"> |