diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-05-18 12:44:17 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-05-18 12:44:17 +0300 |
commit | 2fc21f6c1f01f825227fb968b0e22c9785e01be9 (patch) | |
tree | 6e9ac1b8ab4c096b0061fe57259d3cec98a97b52 /tabs | |
parent | 150f6c9dc3b2bc1aeaa701af0d8ee038669d7dad (diff) |
Restructure PID Tab to have more settings
Diffstat (limited to 'tabs')
-rwxr-xr-x | tabs/pid_tuning.html | 177 |
1 files changed, 131 insertions, 46 deletions
diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 3b8a99a8..fd7784ab 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -221,11 +221,129 @@ </div> </div> </form> + + <div class="clear-both"></div> + <div class="tab_title" data-i18n="iTermMechanics" style="margin-top: 1em;"></div> + <div class="cf_column half"> + <table class="rate-tpa rate-tpa--filtering"> + <tbody> + <tr class="requires-v2_2"> + <th data-i18n="itermRelax"></th> + <td > + <select data-setting="mc_iterm_relax" /> + <div class="helpicon cf_tip" data-i18n_title="itermRelaxHelp"></div> + </td> + </tr> + <tr class="requires-v2_2"> + <th data-i18n="itermRelaxCutoff"></th> + <td > + <input data-setting="mc_iterm_relax_cutoff" class="rate-tpa_input" /> + <div class="helpicon cf_tip" data-i18n_title="itermRelaxCutoffHelp"></div> + </td> + </tr> + </tbody> + </table> + </div> + + <div class="cf_column half"> + <table class="spacer_left rate-tpa rate-tpa--filtering"> + <tbody> + <tr class="requires-v2_2"> + <th data-i18n="itermRelaxType"></th> + <td > + <select data-setting="mc_iterm_relax_type" /> + <div class="helpicon cf_tip" data-i18n_title="itermRelaxTypeHelp"></div> + </td> + </tr> + </tbody> + </table> + </div> + + <div class="clear-both"></div> + <div class="tab_title" data-i18n="dTermMechanics" style="margin-top: 1em;"></div> + <div class="cf_column half"> + <table class="rate-tpa rate-tpa--filtering"> + <tbody> + <tr> + <th data-i18n="dtermSetpointWeight"></th> + <td > + <input type="number" data-setting="dterm_setpoint_weight" class="rate-tpa_input"/> + <div class="helpicon cf_tip" data-i18n_title="dtermSetpointWeightHelp"></div> + </td> + </tr> + <tr class="requires-v2_2"> + <th data-i18n="d_boost_factor"></th> + <td > + <input data-setting="d_boost_factor" class="rate-tpa_input" /> + <div class="helpicon cf_tip" data-i18n_title="d_boost_factor_help"></div> + </td> + </tr> + </tbody> + </table> + </div> + + <div class="cf_column half"> + <table class="spacer_left rate-tpa rate-tpa--filtering"> + <tbody> + <tr class="requires-v2_2"> + <th data-i18n="d_boost_max_at_acceleration"></th> + <td > + <input data-setting="d_boost_max_at_acceleration" class="rate-tpa_input" /> + <div class="helpicon cf_tip" data-i18n_title="d_boost_max_at_acceleration_help"></div> + </td> + </tr> + <tr class="requires-v2_2"> + <th data-i18n="d_boost_gyro_delta_lpf_hz"></th> + <td > + <input data-setting="d_boost_gyro_delta_lpf_hz" class="rate-tpa_input" /> + <div class="helpicon cf_tip" data-i18n_title="d_boost_gyro_delta_lpf_hz_help"></div> + </td> + </tr> + </tbody> + </table> + </div> + <div class="clear-both"></div> <div class="tab_title" data-i18n="tabFiltering" style="margin-top: 1em;"></div> <div class="cf_column half"> <table class="rate-tpa rate-tpa--filtering"> <tbody> + <tr class="requires-v2_2"> + <th data-i18n="gyro_lpf_type"></th> + <td > + <select data-setting="gyro_lpf_type" /> + <div class="helpicon cf_tip" data-i18n_title="gyro_lpf_type_help"></div> + </td> + </tr> + <tr class="requires-v2_1"> + <th data-i18n="gyroStage2LpfCutoffFrequency"></th> + <td> + <input type="number" id="gyroStage2LpfCutoffFrequency" data-simple-bind="FILTER_CONFIG.gyroStage2LowpassHz" class="rate-tpa_input" step="1" min="0" max="500" /> Hz + <div class="helpicon cf_tip" data-i18n_title="gyroStage2LpfCutoffFrequencyHelp"></div> + </td> + </tr> + <tr class="requires-v2_2"> + <th data-i18n="acc_lpf_type"></th> + <td > + <select data-setting="acc_lpf_type" /> + <div class="helpicon cf_tip" data-i18n_title="acc_lpf_type_help"></div> + </td> + </tr> + <tr> + <th data-i18n="yawLpfCutoffFrequency"></th> + <td> + <input type="number" id="yawLpfHz" class="rate-tpa_input" step="1" min="0" max="200" /> Hz + <div class="helpicon cf_tip" data-i18n_title="yawLpfCutoffFrequencyHelp"></div> + </td> + </tr> + + </tbody> + </table> + </div> + + <div class="cf_column half"> + <table class="spacer_left rate-tpa rate-tpa--filtering"> + <tbody> <tr> <th data-i18n="gyroLpfCutoffFrequency"></th> <td> @@ -233,11 +351,11 @@ <div class="helpicon cf_tip" data-i18n_title="gyroLpfCutoffFrequencyHelp"></div> </td> </tr> - <tr class="requires-v2_1"> - <th data-i18n="gyroStage2LpfCutoffFrequency"></th> + <tr> + <th data-i18n="dtermLpfCutoffFrequency"></th> <td> - <input type="number" id="gyroStage2LpfCutoffFrequency" data-simple-bind="FILTER_CONFIG.gyroStage2LowpassHz" class="rate-tpa_input" step="1" min="0" max="500" /> Hz - <div class="helpicon cf_tip" data-i18n_title="gyroStage2LpfCutoffFrequencyHelp"></div> + <input type="number" id="dtermLpfHz" class="rate-tpa_input" step="1" min="0" max="200" /> Hz + <div class="helpicon cf_tip" data-i18n_title="dtermLpfCutoffFrequencyHelp"></div> </td> </tr> <tr> @@ -247,7 +365,15 @@ <div class="helpicon cf_tip" data-i18n_title="accLpfCutoffFrequencyHelp"></div> </td> </tr> + </tbody> + </table> + </div> + <div class="clear-both"></div> + <div class="tab_title" data-i18n="tabFilteringAdvanced" style="margin-top: 1em;"></div> + <div class="cf_column half"> + <table class="rate-tpa rate-tpa--filtering"> + <tbody> <tr> <th data-i18n="gyroNotchHz1"></th> <td> @@ -280,24 +406,11 @@ </tbody> </table> </div> + <div class="cf_column half"> <table class="spacer_left rate-tpa rate-tpa--filtering"> <tbody> <tr> - <th data-i18n="dtermLpfCutoffFrequency"></th> - <td> - <input type="number" id="dtermLpfHz" class="rate-tpa_input" step="1" min="0" max="200" /> Hz - <div class="helpicon cf_tip" data-i18n_title="dtermLpfCutoffFrequencyHelp"></div> - </td> - </tr> - <tr> - <th data-i18n="yawLpfCutoffFrequency"></th> - <td> - <input type="number" id="yawLpfHz" class="rate-tpa_input" step="1" min="0" max="200" /> Hz - <div class="helpicon cf_tip" data-i18n_title="yawLpfCutoffFrequencyHelp"></div> - </td> - </tr> - <tr> <th data-i18n="dtermNotchHz"></th> <td> <input type="number" data-simple-bind="FILTER_CONFIG.dtermNotchHz" id="dtermNotchHz" class="rate-tpa_input" step="1" min="0" max="500" /> Hz @@ -334,34 +447,6 @@ <div class="cf_column half"> <table class="rate-tpa rate-tpa--misc"> <tr> - <th data-i18n="dtermSetpointWeight"></th> - <td > - <input type="number" data-setting="dterm_setpoint_weight" class="rate-tpa_input"/> - <div class="helpicon cf_tip" data-i18n_title="dtermSetpointWeightHelp"></div> - </td> - </tr> - <tr class="requires-v2_2"> - <th data-i18n="itermRelax"></th> - <td > - <select data-setting="mc_iterm_relax" /> - <div class="helpicon cf_tip" data-i18n_title="itermRelaxHelp"></div> - </td> - </tr> - <tr class="requires-v2_2"> - <th data-i18n="itermRelaxType"></th> - <td > - <select data-setting="mc_iterm_relax_type" /> - <div class="helpicon cf_tip" data-i18n_title="itermRelaxTypeHelp"></div> - </td> - </tr> - <tr class="requires-v2_2"> - <th data-i18n="itermRelaxCutoff"></th> - <td > - <input data-setting="mc_iterm_relax_cutoff" class="rate-tpa_input" /> - <div class="helpicon cf_tip" data-i18n_title="itermRelaxCutoffHelp"></div> - </td> - </tr> - <tr> <th data-i18n="yawJumpPreventionLimit"></th> <td > <input type="number" id="yawJumpPreventionLimit" class="rate-tpa_input" step="10" min="80" max="500" /> |