betaflight-configurator/tabs/pid_tuning.html

274 lines
15 KiB
HTML
Raw Normal View History

2015-11-06 01:38:28 +00:00
<div id="content-watermark"></div>
<div class="tab-pid_tuning toolbar_fixed_bottom">
<div class="content_wrapper">
<div class="tab_title" i18n="tabPidTuning"></div>
<div class="cf_doc_version_bt">
<a id="button-documentation" href="https://github.com/cleanflight/cleanflight/releases" target="_blank"></a>
</div>
<div class="cf_column half">
<div class="controller">
2015-12-08 11:20:04 +00:00
<span class="head" i18n="pidTuningControllerHead"></span>
<select name="controller">
<!-- list generated here -->
</select>
</div>
<div class="cf_column fourth">
<div class="default_btn show">
<a href="#" id="showAllPids">Show all PIDs</a>
</div>
</div>
</div>
<form name="pid-tuning" id="pid-tuning">
<div class="clear-both"></div>
<div class="cf_column half">
<div class="gui_box grey">
<table class="pid_titlebar">
<tr>
<th class="name" i18n="pidTuningName" style="width: 25%;"></th>
<th class="proportional" i18n="pidTuningProportional" style="width: 25%;"></th>
<th class="integral" i18n="pidTuningIntegral" style="width: 25%;"></th>
<th class="derivative" i18n="pidTuningDerivative" style="width: 25%;"></th>
</tr>
</table>
<table id="pid_main" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode" i18n="pidTuningBasic"></div>
</th>
</tr>
<tr class="ROLL">
<!-- 0 -->
<td></td>
2015-11-13 13:49:36 +00:00
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="PITCH">
<!-- 1 -->
<td></td>
2015-11-13 13:49:36 +00:00
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="YAW">
<!-- 2 -->
<td></td>
2015-11-13 13:49:36 +00:00
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
<table id="pid_baro" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode" i18n="pidTuningAltitude"></div>
</th>
</tr>
<tr class="ALT">
<!-- 3 -->
<td></td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="Vario">
<!-- 9 -->
<td>VEL</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
<table id="pid_mag" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode" i18n="pidTuningMag"></div>
</th>
</tr>
<tr class="MAG">
<!-- 8 -->
<td></td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td></td>
<td></td>
</tr>
</table>
<table id="pid_gps" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode" i18n="pidTuningGps"></div>
</th>
</tr>
<tr class="Pos">
<!-- 4 -->
<td></td>
<td><input type="number" name="p" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td></td>
</tr>
<tr class="PosR">
<!-- 5 -->
<td></td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="d" step="0.001" min="0" max="0.255" /></td>
</tr>
<tr class="NavR">
<!-- 6 -->
<td></td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="d" step="0.001" min="0" max="0.255" /></td>
</tr>
</table>
</div>
2015-12-08 12:52:18 +00:00
<div class="gui_box grey" style="margin-top:15px;">
2015-12-08 11:20:04 +00:00
<table id="pid_accel" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode">
2015-11-14 11:34:06 +00:00
<div style="width: 25%; float: left; text-align: left;">
<div i18n="pidTuningLevel" style="float:left;"></div>
2015-11-14 11:34:06 +00:00
<div class="helpicon cf_tip">
<div class="cf_tooltiptext" i18n="pidHelp1" style="display: none;"></div>
</div>
</div>
<div style="width:25%; float:left;" i18n="pidTuningLevelP"></div>
<div style="width:25%; float:left;" i18n="pidTuningLevelI"></div>
<div style="width:25%; float:left;" i18n="pidTuningLevelD"></div>
</div>
</th>
</tr>
<tr class="LEVEL">
<!-- 7 -->
<td></td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
2015-12-08 11:20:04 +00:00
</div>
</div>
<div class="cf_column half">
<div class="spacer_left">
<table class="rate-tpa cf" style="display:xnone;">
<thead>
<tr>
<th class="roll-pitch" i18n="pidTuningRollPitchRate"></th>
<th class="roll" i18n="pidTuningRollRate"></th>
<th class="pitch" i18n="pidTuningPitchRate"></th>
<th i18n="pidTuningYawRate"></th>
</tr>
</thead>
<tbody>
<tr>
<td class="roll-pitch"><input type="number" name="roll-pitch" step="0.01" min="0"
max="1.00" /></td>
<td class="roll" style="border-bottom-left-radius: 3px;"><input type="number"
name="roll" step="0.01" min="0" max="1.00" /></td>
<td class="pitch"><input type="number" name="pitch" step="0.01" min="0" max="1.00" /></td>
<td><input type="number" name="yaw" step="0.01" min="0" max="2.55" /></td>
</tr>
</tbody>
</table>
<table class="rate-tpa cf" style="display:xnone;">
<thead>
<tr>
<th i18n="pidTuningTPA"></th>
<th class="tpa-breakpoint" i18n="pidTuningTPABreakPoint"
style="border-top-left-radius: 0px;"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="padding-left: 0px;"><input type="number" name="tpa" step="0.01" min="0"
max="1.00" /></td>
<td class="tpa-breakpoint"><input type="number" name="tpa-breakpoint" step="10"
min="1000" max="2000" /></td>
</tr>
</tbody>
</table>
<div class="gui_box grey" style="margin-top:7px;">
2015-12-08 11:20:04 +00:00
<div class="gui_box_titlebar">
<div class="spacer_box_title">Filter Settings</div>
</div>
<div class="spacer_box">
2015-12-08 13:53:53 +00:00
<div class="note" style="margin-top:5px; margin-bottom:10px; float:left; width: calc(100% - 2px);">
2015-12-08 13:36:34 +00:00
<div class="note_spacer">
<p i18n="configurationLoopTimeHelp"></p>
</div>
</div>
2015-12-08 11:20:04 +00:00
<div class="number">
<label>
<div class="numberspacer">
<input type="number" name="midthrottle" min="0" max="2000" />
</div>
2015-12-08 11:24:46 +00:00
<span>Accel Lowpass Filter (acc_lpf_factor)</span>
2015-12-08 11:20:04 +00:00
<div class="helpicon cf_tip">
2015-12-08 11:36:00 +00:00
<div class="cf_tooltiptext" style="display:none;">This setting controls the Low Pass Filter factor for ACC. Increasing this value reduces ACC noise (visible in GUI), but would increase ACC lag time. Zero = no filter</div>
2015-12-08 11:20:04 +00:00
</div>
</label>
</div>
<div class="number">
<label>
<div class="numberspacer">
<input type="number" name="midthrottle" min="0" max="2000" />
</div>
2015-12-08 11:24:46 +00:00
<span>Gyro Lowpass Filter (gyro_lpf)</span>
2015-12-08 11:20:04 +00:00
<div class="helpicon cf_tip">
2015-12-08 11:33:18 +00:00
<div class="cf_tooltiptext" style="display:none;">Hardware lowpass filter for gyro. Allowed values depend on the driver - For example MPU6050 allows 5,10,20,42,98,188,256Hz, while MPU3050 doesn't allow 5Hz. If you have to set gyro lpf below 42Hz generally means the frame is vibrating too much, and that should be fixed first. Values outside of supported range will usually be ignored by drivers, and will configure lpf to default value of 42Hz.</div>
2015-12-08 11:20:04 +00:00
</div>
</label>
</div>
<div class="number">
<label>
<div class="numberspacer">
<input type="number" name="midthrottle" min="0" max="2000" />
</div>
2015-12-08 11:33:18 +00:00
<span>Gyro Lowpass Cutoff Filter (gyro_cut_hz)</span>
2015-12-08 11:20:04 +00:00
<div class="helpicon cf_tip">
2015-12-08 11:36:00 +00:00
<div class="cf_tooltiptext" style="display:none;">placeholder</div>
2015-12-08 11:20:04 +00:00
</div>
</label>
</div>
<div class="number">
<label>
<div class="numberspacer">
<input type="number" name="midthrottle" min="0" max="2000" />
</div>
2015-12-08 11:33:18 +00:00
<span>P-Term Lowpass Cutoff Filter (pterm_cut_hz)</span>
2015-12-08 11:20:04 +00:00
<div class="helpicon cf_tip">
2015-12-08 11:36:00 +00:00
<div class="cf_tooltiptext" style="display:none;">placeholder</div>
2015-12-08 11:20:04 +00:00
</div>
</label>
</div>
<div class="number">
<label>
<div class="numberspacer">
<input type="number" name="midthrottle" min="0" max="2000" />
</div>
2015-12-08 11:33:18 +00:00
<span>D-Term Lowpass Cutoff Filter (dterm_cut_hz)</span>
2015-12-08 11:20:04 +00:00
<div class="helpicon cf_tip">
2015-12-08 11:36:00 +00:00
<div class="cf_tooltiptext" style="display:none;">placeholder</div>
2015-12-08 11:20:04 +00:00
</div>
</label>
</div>
</div>
</div>
</div>
</div>
</form>
<div class="clear-both"></div>
</div>
<div class="content_toolbar">
<div class="btn save_btn">
<a class="update" href="#" i18n="pidTuningButtonSave"></a>
</div>
<div class="btn refresh_btn">
<a class="refresh" href="#" i18n="pidTuningButtonRefresh"></a>
</div>
2015-12-08 11:20:04 +00:00
<div class="btn reset">
<a class="reset" href="#">Reset PID Controller</a>
</div>
</div>
2015-12-08 11:20:04 +00:00
</div>