Added 'Super Rates' title, reverted pterm setpoint weight range.
parent
6431927f06
commit
275d5d15a3
|
@ -856,6 +856,9 @@
|
|||
"pidTuningRate": {
|
||||
"message": "Rate"
|
||||
},
|
||||
"pidTuningSuperRate": {
|
||||
"message": "Super Rate"
|
||||
},
|
||||
"pidTuningRatesPreview": {
|
||||
"message": "Rates Preview"
|
||||
},
|
||||
|
|
|
@ -305,7 +305,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr class="ptermSetpoint">
|
||||
<td><input type="number" name="ptermSetpoint-number" step="0.01" min="0.40" max="2.55"/></td>
|
||||
<td><input type="number" name="ptermSetpoint-number" step="0.01" min="0.40" max="1.00"/></td>
|
||||
<td class="slider"><input type="range" name="ptermSetpoint-range" step="0.01" min="0.40" max="2.55"/></td>
|
||||
<td colspan=2>
|
||||
<div>
|
||||
|
|
|
@ -236,6 +236,13 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('.pid_tuning input[name="rc_rate_yaw"]').hide();
|
||||
}
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "3.0.0")
|
||||
|| semver.gte(CONFIG.flightControllerVersion, "2.8.0") && BF_CONFIG.features.isEnabled('SUPEREXPO_RATES')) {
|
||||
$('#pid-tuning .rate').text(chrome.i18n.getMessage("pidTuningSuperRate"));
|
||||
} else {
|
||||
$('#pid-tuning .rate').text(chrome.i18n.getMessage("pidTuningRate"));
|
||||
}
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, '3.0.0')) {
|
||||
$('.pid_filter input[name="gyroNotchFrequency"]').val(FILTER_CONFIG.gyro_soft_notch_hz);
|
||||
$('.pid_filter input[name="gyroNotchCutoff"]').val(FILTER_CONFIG.gyro_soft_notch_cutoff);
|
||||
|
|
Loading…
Reference in New Issue