PID Tab fix
parent
e9b98a1a21
commit
a5bef02067
|
@ -86,7 +86,7 @@
|
|||
<table id="pid_baro" class="pid_tuning">
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
<div class="pid_mode">Barometer/Altitude</div>
|
||||
<div class="pid_mode">Barometer & Sonar/Altitude</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr class="ALT">
|
||||
|
@ -96,6 +96,13 @@
|
|||
<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>
|
||||
|
@ -111,20 +118,6 @@
|
|||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table id="pid_sonar" class="pid_tuning">
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
<div class="pid_mode">Sonar</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr class="Vario">
|
||||
<!-- 9 -->
|
||||
<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>
|
||||
<table id="pid_gps" class="pid_tuning">
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
|
|
|
@ -257,7 +257,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('#pid_gps').show();
|
||||
}
|
||||
if (have_sensor(sensors_detected, 'sonar')) {
|
||||
$('#pid_sonar').show();
|
||||
$('#pid_baro').show();
|
||||
}
|
||||
}
|
||||
function process_html() {
|
||||
|
@ -269,9 +269,9 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
documentationButton.html("Documentation for "+CONFIG.flightControllerVersion);
|
||||
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
||||
|
||||
// loading tooltip
|
||||
$(document).ready(function() {
|
||||
$('.cf_tip').jBox('Tooltip', {
|
||||
// loading tooltip
|
||||
$(document).ready(function() {
|
||||
$('.cf_tip').jBox('Tooltip', {
|
||||
delayOpen: 100,
|
||||
delayClose: 100,
|
||||
position: {
|
||||
|
@ -279,8 +279,8 @@ $('.cf_tip').jBox('Tooltip', {
|
|||
y: 'center'
|
||||
},
|
||||
outside: 'x'
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
hideUnusedPids(CONFIG.activeSensors);
|
||||
|
|
Loading…
Reference in New Issue