Fix auto_factor tooltip

Fix target help
10.8-maintenance
Mark Haslinghuis 2021-12-26 03:54:41 +01:00
parent 90f15faf79
commit 10da45c1eb
No known key found for this signature in database
GPG Key ID: 198B0F616296A584
3 changed files with 10 additions and 2 deletions

View File

@ -1729,7 +1729,11 @@
"description": "Auto Factor parameter for RC smoothing" "description": "Auto Factor parameter for RC smoothing"
}, },
"receiverRcSmoothingAutoFactorHelp": { "receiverRcSmoothingAutoFactorHelp": {
"message": "Adjusts the Auto factor calculation, 10 is the default factor to delay ratio. Increasing the number will smooth RC inputs more, while also adding delay. This may be useful for unreliable RC connections or for cinematic flying.<br>Be careful with numbers approaching 50, input delay will become noticeable.<br>Use the CLI command rc_smoothing_info while TX and RX are powered to see the automatically calculated RC smoothing cutoffs. ", "message": "Adjusts the Auto factor calculation, 10 is the default factor to delay ratio. Increasing the number will smooth RC inputs more, while also adding delay. This may be useful for unreliable RC connections or for cinematic flying.<br>Be careful with numbers approaching 50, input delay will become noticeable.<br>Use the CLI command rc_smoothing_info while TX and RX are powered to see the automatically calculated RC smoothing cutoffs.",
"description": "Auto Factor parameter help message"
},
"receiverRcSmoothingAutoFactorHelp2": {
"message": "Adjusts auto RC smoothing. 30 is the default. Higher values smooth RC inputs more - e.g. 60 for HD freestyle or 90-120 for cinematic flying. Note: Values over 50 will cause appreciable stick delay. Lower values, eg 20-25, will transfer some of the RC control steps into the motor signals, slightly increasing motor heat, but will reduce RC delay slightly. This may be useful for racing.",
"description": "Auto Factor parameter help message" "description": "Auto Factor parameter help message"
}, },
"receiverRcFeedforwardTypeSelect": { "receiverRcFeedforwardTypeSelect": {

View File

@ -631,6 +631,10 @@ TABS.receiver.initialize = function (callback) {
$('.tab-receiver .rcSmoothing-auto-factor').hide(); $('.tab-receiver .rcSmoothing-auto-factor').hide();
} }
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
$('.receiverRcSmoothingAutoFactorHelp').attr('title', i18n.getMessage("receiverRcSmoothingAutoFactorHelp2"));
}
updateInterpolationView(); updateInterpolationView();
} else { } else {
$('.tab-receiver .rcInterpolation').show(); $('.tab-receiver .rcInterpolation').show();

View File

@ -314,7 +314,7 @@
</div> </div>
</td> </td>
<td> <td>
<div class="helpicon cf_tip" i18n_title="receiverRcSmoothingAutoFactorHelp"></div> <div class="helpicon cf_tip receiverRcSmoothingAutoFactorHelp" i18n_title="receiverRcSmoothingAutoFactorHelp"></div>
</td> </td>
</tr> </tr>
<tr class="rcInterpolation"> <tr class="rcInterpolation">