2015-11-05 15:47:11 +00:00
|
|
|
<div class="tab-pid_tuning toolbar_fixed_bottom">
|
2015-11-10 01:21:47 +00:00
|
|
|
<div class="content_wrapper">
|
|
|
|
<div class="tab_title" i18n="tabPidTuning"></div>
|
|
|
|
<div class="cf_doc_version_bt">
|
2016-06-18 03:56:23 +00:00
|
|
|
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
2015-11-10 01:21:47 +00:00
|
|
|
</div>
|
2016-06-30 09:49:43 +00:00
|
|
|
<div class="note" style="margin-bottom: 25px;">
|
|
|
|
<div class="note_spacer">
|
|
|
|
<p i18n="tuningHelp"></p>
|
|
|
|
</div>
|
2016-06-26 12:33:53 +00:00
|
|
|
</div>
|
2016-06-20 14:33:30 +00:00
|
|
|
<div class="cf_column twothird">
|
2016-06-24 09:07:12 +00:00
|
|
|
<div class="controller single-field">
|
|
|
|
<div class="head" i18n="pidTuningControllerHead"></div>
|
2016-06-30 09:49:43 +00:00
|
|
|
<div class="bottomarea">
|
|
|
|
<select name="controller">
|
|
|
|
<!-- list generated here -->
|
|
|
|
</select>
|
|
|
|
</div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</div>
|
2016-06-24 09:07:12 +00:00
|
|
|
<div class="delta single-field">
|
2016-06-30 09:49:43 +00:00
|
|
|
<div class="helpicon cf_tip" i18n_title="PIDTip" style="margin-top: 5px;"></div>
|
2016-06-25 22:34:25 +00:00
|
|
|
<div class="head">Derivative Method</div>
|
2016-06-30 09:49:43 +00:00
|
|
|
<div class="bottomarea">
|
|
|
|
<select name="delta">
|
|
|
|
<option value="0">Error</option>
|
|
|
|
<option value="1">Measurement</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2016-06-24 09:07:12 +00:00
|
|
|
</div>
|
2016-01-03 15:05:26 +00:00
|
|
|
<div class="cf_column right">
|
|
|
|
<div class="default_btn show">
|
2015-11-10 01:21:47 +00:00
|
|
|
<a href="#" id="showAllPids">Show all PIDs</a>
|
|
|
|
</div>
|
2016-01-03 15:05:26 +00:00
|
|
|
<div class="default_btn resetbt">
|
2015-12-12 22:46:51 +00:00
|
|
|
<a href="#" id="resetPIDs">Reset PID Controller</a>
|
|
|
|
</div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<form name="pid-tuning" id="pid-tuning">
|
|
|
|
<div class="clear-both"></div>
|
2016-06-14 12:20:23 +00:00
|
|
|
<div class="cf_column twothird">
|
2015-11-10 01:21:47 +00:00
|
|
|
<div class="gui_box grey">
|
|
|
|
<table class="pid_titlebar">
|
|
|
|
<tr>
|
2016-06-22 15:14:25 +00:00
|
|
|
<th class="name" i18n="pidTuningName"></th>
|
2016-01-03 15:05:26 +00:00
|
|
|
<th class="proportional" i18n="pidTuningProportional"></th>
|
|
|
|
<th class="integral" i18n="pidTuningIntegral"></th>
|
|
|
|
<th class="derivative" i18n="pidTuningDerivative"></th>
|
2016-06-30 09:49:43 +00:00
|
|
|
<th class="rc_rate" i18n="pidTuningRcRate"></th>
|
2016-06-14 12:20:23 +00:00
|
|
|
<th class="rate" i18n="pidTuningRate"></th>
|
2016-06-30 09:49:43 +00:00
|
|
|
<th class="rc_expo" i18n="pidTuningRcExpo"></th>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table id="pid_main" class="pid_tuning">
|
|
|
|
<tr>
|
2016-06-14 12:20:23 +00:00
|
|
|
<th colspan="8">
|
2015-11-16 21:33:00 +00:00
|
|
|
<div class="pid_mode" i18n="pidTuningBasic"></div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="ROLL">
|
|
|
|
<!-- 0 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
2016-06-30 09:49:43 +00:00
|
|
|
<td rowspan="2" style="background-color:white;">
|
|
|
|
<input type="number" name="rc_rate" step="0.01" min="0" max="2.5" />
|
|
|
|
<div class="bracket"></div>
|
|
|
|
</td>
|
|
|
|
<td class="roll_rate"><input type="number" name="roll_rate" step="0.01" min="0" max="1.00" /></td>
|
|
|
|
<td class="roll_pitch_rate" rowspan="2"><input type="number" name="roll_pitch_rate" step="0.01" min="0" max="1.00" /></td>
|
|
|
|
<td rowspan="2" style="background-color:white;">
|
|
|
|
<input type="number" name="rc_expo" step="0.01" min="0" max="1" />
|
|
|
|
<div class="bracket"></div>
|
|
|
|
</td>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
<tr class="PITCH">
|
|
|
|
<!-- 1 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
2016-06-14 12:20:23 +00:00
|
|
|
<td class="pitch_rate"><input type="number" name="pitch_rate" step="0.01" min="0" max="1.00" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
<tr class="YAW">
|
|
|
|
<!-- 2 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
2016-06-30 09:49:43 +00:00
|
|
|
<td rowspan="1"><input type="number" name="rc_rate_yaw" step="0.01" min="0" max="2.5" /></td>
|
|
|
|
<td><input type="number" name="yaw_rate" step="0.01" min="0" max="2.55" /></td>
|
|
|
|
<td><input type="number" name="rc_yaw_expo" step="0.01" min="0" max="1" /></td>
|
2016-06-14 12:20:23 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2016-06-30 09:49:43 +00:00
|
|
|
</div>
|
2016-06-30 12:38:26 +00:00
|
|
|
<div id="pid_optional" class="gui_box grey topspacer pid_tuning">
|
2016-06-14 12:20:23 +00:00
|
|
|
<table class="pid_titlebar">
|
|
|
|
<tr>
|
2016-06-22 15:14:25 +00:00
|
|
|
<th class="name" i18n="pidTuningName"></th>
|
2016-06-14 12:20:23 +00:00
|
|
|
<th class="proportional" i18n="pidTuningProportional"></th>
|
|
|
|
<th class="integral" i18n="pidTuningIntegral"></th>
|
|
|
|
<th class="derivative" i18n="pidTuningDerivative"></th>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table id="pid_baro" class="pid_tuning">
|
|
|
|
<tr>
|
|
|
|
<th colspan="4">
|
2015-11-16 21:33:00 +00:00
|
|
|
<div class="pid_mode" i18n="pidTuningAltitude"></div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="ALT">
|
|
|
|
<!-- 3 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="Vario">
|
|
|
|
<!-- 9 -->
|
|
|
|
<td>VEL</td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<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">
|
2015-11-16 21:33:00 +00:00
|
|
|
<div class="pid_mode" i18n="pidTuningMag"></div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="MAG">
|
|
|
|
<!-- 8 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table id="pid_gps" class="pid_tuning">
|
|
|
|
<tr>
|
|
|
|
<th colspan="4">
|
2015-11-16 21:33:00 +00:00
|
|
|
<div class="pid_mode" i18n="pidTuningGps"></div>
|
2015-11-10 01:21:47 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="Pos">
|
|
|
|
<!-- 4 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<!-- <td><input type="number" name="i" step="1" min="0" max="255" /></td> -->
|
|
|
|
<td></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="PosR">
|
|
|
|
<!-- 5 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
<tr class="NavR">
|
|
|
|
<!-- 6 -->
|
|
|
|
<td></td>
|
2016-06-17 18:27:10 +00:00
|
|
|
<td><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="i" step="1" min="0" max="255" /></td>
|
|
|
|
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-30 12:38:26 +00:00
|
|
|
<div id="pid_accel" class="gui_box grey topspacer pid_tuning">
|
|
|
|
<table class="pid_titlebar">
|
|
|
|
<tr>
|
|
|
|
<th class="third" i18n="pidTuningName"></th>
|
|
|
|
<th class="third" i18n="pidTuningStrength"></th>
|
|
|
|
<th class="third" i18n="pidTuningTransition"></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th colspan="3">
|
|
|
|
<div class="pid_mode">
|
2016-06-30 13:20:23 +00:00
|
|
|
<div i18n="pidTuningLevel" style="float:left;"></div>
|
2016-06-30 12:38:26 +00:00
|
|
|
<div class="helpicon cf_tip" i18n_title="pidTuningLevelHelp"></div>
|
|
|
|
</div>
|
2015-11-12 13:36:59 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
2016-06-30 12:38:26 +00:00
|
|
|
<tr class="HORIZON">
|
2015-11-12 13:36:59 +00:00
|
|
|
<!-- 7 -->
|
2016-06-30 12:38:26 +00:00
|
|
|
<td class="third" i18n="pidTuningHorizon"></td>
|
|
|
|
<td class="third"><input type="number" name="p" step="1" min="0" max="255" /></td>
|
|
|
|
<td class="third"><input type="number" name="i" step="1" min="0" max="255" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="ANGLE">
|
|
|
|
<!-- 7 -->
|
|
|
|
<td class="third" i18n="pidTuningAngle"></td>
|
|
|
|
<td class="third"><input type="number" name="d" step="1" min="0" max="255" /></td>
|
|
|
|
<td></td>
|
2015-11-12 13:36:59 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2015-12-08 11:20:04 +00:00
|
|
|
</div>
|
2016-06-30 12:38:26 +00:00
|
|
|
<div id="pid_filter" class="gui_box grey topspacer pid_tuning">
|
|
|
|
<table class="pid_titlebar">
|
|
|
|
<tr>
|
|
|
|
<th class="third" i18n="pidTuningGyro"></th>
|
|
|
|
<th class="third" i18n="pidTuningDTerm"></th>
|
|
|
|
<th class="third" i18n="pidTuningYaw"></th>
|
2016-06-24 09:26:54 +00:00
|
|
|
</tr>
|
2016-06-30 12:38:26 +00:00
|
|
|
</table>
|
|
|
|
<table>
|
2016-06-24 09:26:54 +00:00
|
|
|
<tr>
|
2016-06-30 12:38:26 +00:00
|
|
|
<th colspan="3">
|
|
|
|
<div class="pid_mode" i18n="pidTuningLfpFilters"> </div>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="third"><input type="number" name="gyro" step="1" min="0" max="255" /></td>
|
|
|
|
<td class="third"><input type="number" name="dterm" step="1" min="0" max="500" /></td>
|
|
|
|
<td class="third"><input type="number" name="yaw" step="1" min="0" max="500" /></td>
|
2016-06-24 09:26:54 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-29 20:59:47 +00:00
|
|
|
<div class="cf_column half topspacer">
|
2016-06-30 09:49:43 +00:00
|
|
|
<div>
|
|
|
|
<table class="rc_curve cf">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-06-30 22:51:47 +00:00
|
|
|
<th i18n="pidTuningRcCurve"></th>
|
2016-06-30 09:49:43 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</tbody>
|
2015-11-10 01:21:47 +00:00
|
|
|
<tr>
|
2016-06-30 09:49:43 +00:00
|
|
|
<td>
|
|
|
|
<div class="spacer" style="margin-top: 10px; margin-bottom: 10px;">
|
|
|
|
<div class="pitch_roll_curve">
|
|
|
|
<canvas height="120px" style="width: 100%; height: 100%"></canvas>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
2016-06-29 20:59:47 +00:00
|
|
|
</tr>
|
2016-06-30 09:49:43 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="clear-both"></div>
|
|
|
|
</div>
|
|
|
|
<div class="topspacer">
|
|
|
|
<table class="rc_yaw_curve cf">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-06-30 22:51:47 +00:00
|
|
|
<th i18n="pidTuningRcYawCurve"></th>
|
2016-06-30 09:49:43 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</tbody>
|
2016-06-29 20:59:47 +00:00
|
|
|
<tr>
|
2016-06-30 09:49:43 +00:00
|
|
|
<td>
|
|
|
|
<div class="spacer" style="margin-top: 10px; margin-bottom: 10px;">
|
|
|
|
<div class="yaw_curve">
|
|
|
|
<canvas height="120px" style="width: 100%; height: 100%"></canvas>
|
|
|
|
</div>
|
2016-06-14 12:20:23 +00:00
|
|
|
</div>
|
2016-06-29 20:59:47 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2016-06-30 09:49:43 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="clear-both"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cf_column half topspacer">
|
|
|
|
<div class="spacer_left">
|
|
|
|
<table class="tpa cf">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th i18n="pidTuningRatesPreview" style="font-weight: bold;"></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="rates_preview_cell">
|
|
|
|
<div class="rates_preview">
|
|
|
|
<canvas id="canvas"></canvas>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-14 12:20:23 +00:00
|
|
|
</div>
|
2016-06-29 20:59:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="cf_column third_right">
|
|
|
|
<div class="spacer_left throttle">
|
2016-06-28 13:17:33 +00:00
|
|
|
<table class="cf">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th colspan=2 i18n="throttle"></th>
|
2016-06-30 09:49:43 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</tbody>
|
|
|
|
<tr>
|
|
|
|
<td colspan=2>
|
|
|
|
<div class="spacer" style="margin-top: 10px; margin-bottom: 10px;">
|
|
|
|
<div class="throttle_curve">
|
|
|
|
<canvas height="120px" style="width: 100%; height: 100%"></canvas>
|
2016-06-28 13:17:33 +00:00
|
|
|
</div>
|
2016-06-30 09:49:43 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
2016-06-29 20:59:47 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-30 21:05:18 +00:00
|
|
|
<div class="spacer_left topspacer throttle">
|
2016-06-29 20:59:47 +00:00
|
|
|
<table class="tpa cf">
|
|
|
|
<thead>
|
2016-06-28 13:17:33 +00:00
|
|
|
<tr>
|
|
|
|
<th i18n="receiverThrottleMid"></th>
|
|
|
|
<th i18n="receiverThrottleExpo"></th>
|
|
|
|
</tr>
|
2016-06-29 20:59:47 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-06-28 13:17:33 +00:00
|
|
|
<tr>
|
|
|
|
<td><input type="number" name="mid" step="0.01" min="0" max="1" /></td>
|
|
|
|
<td><input type="number" name="expo" step="0.01" min="0" max="1" /></td>
|
|
|
|
</tr>
|
2016-06-29 20:59:47 +00:00
|
|
|
</tbody>
|
2016-06-28 13:17:33 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-14 12:20:23 +00:00
|
|
|
<div class="spacer_left topspacer">
|
|
|
|
<table class="tpa cf">
|
2015-11-10 01:21:47 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th i18n="pidTuningTPA"></th>
|
2016-01-03 15:05:26 +00:00
|
|
|
<th class="tpa-breakpoint" i18n="pidTuningTPABreakPoint"></th>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-06-30 09:49:43 +00:00
|
|
|
<tbody>
|
2015-11-10 01:21:47 +00:00
|
|
|
<tr>
|
2016-01-03 15:05:26 +00:00
|
|
|
<td class="leftzero"><input type="number" name="tpa" step="0.01" min="0"
|
2015-11-10 01:21:47 +00:00
|
|
|
max="1.00" /></td>
|
2016-06-14 12:20:23 +00:00
|
|
|
<td class="tpa-breakpoint"><input type="number" name="tpa-breakpoint" step="10" min="1000" max="2000" /></td>
|
2015-11-10 01:21:47 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</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>
|
|
|
|
</div>
|
2016-06-30 12:38:26 +00:00
|
|
|
</div>
|