mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fixed label for midrc. Added some help texts.
This commit is contained in:
parent
a25344ef9a
commit
5dc8f97d44
3 changed files with 20 additions and 8 deletions
|
@ -607,11 +607,17 @@
|
|||
"configurationDisarmKillSwitch": {
|
||||
"message": "Disarm motors regardless of throttle value (When arming via AUX channel)"
|
||||
},
|
||||
"configurationMidRc": {
|
||||
"message": "Center value for RC channels"
|
||||
},
|
||||
"configurationMidRcHelp": {
|
||||
"message": "This is the center value <span style=\"font-weight: bold\">for all RC channels</span>. Set this to the value that your transmitter sends when the stick is centered for a channel. To adjust the thrust at throttle mid position, change the 'Trottle MID' value on the PID Tuning tab."
|
||||
},
|
||||
"configurationThrottleMinimum": {
|
||||
"message": "Minimum Throttle"
|
||||
},
|
||||
"configurationThrottleMid": {
|
||||
"message": "Middle Throttle [RC inputs center value]"
|
||||
"configurationThrottleMinimumHelp": {
|
||||
"message": "This is the 'idle' value that is sent to the ESCs when the craft is armed and the trottle stick is at minimum position. Adjust this so the motors run as slow as possible while still running smoothly."
|
||||
},
|
||||
"configurationThrottleMaximum": {
|
||||
"message": "Maximum Throttle"
|
||||
|
@ -619,6 +625,9 @@
|
|||
"configurationThrottleMinimumCommand": {
|
||||
"message": "Minimum Command"
|
||||
},
|
||||
"configurationThrottleMinimumCommandHelp": {
|
||||
"message": "This is the value that is sent to the ESCs when the craft is disarmed. Set this to a value that has the motors stopped (1000 for most ESCs)."
|
||||
},
|
||||
"configurationBatteryVoltage": {
|
||||
"message": "Battery Voltage"
|
||||
},
|
||||
|
|
|
@ -84,17 +84,19 @@
|
|||
<div class="number">
|
||||
<label>
|
||||
<div class="numberspacer">
|
||||
<input type="number" name="minthrottle" min="0" max="2000" />
|
||||
<input type="number" name="midrc" min="0" max="2000" />
|
||||
</div>
|
||||
<span i18n="configurationThrottleMinimum"></span>
|
||||
<span i18n="configurationMidRc"></span>
|
||||
<div class="helpicon cf_tip" i18n_title="configurationMidRcHelp"></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="number">
|
||||
<label>
|
||||
<div class="numberspacer">
|
||||
<input type="number" name="midthrottle" min="0" max="2000" />
|
||||
<input type="number" name="minthrottle" min="0" max="2000" />
|
||||
</div>
|
||||
<span i18n="configurationThrottleMid"></span>
|
||||
<span i18n="configurationThrottleMinimum"></span>
|
||||
<div class="helpicon cf_tip" i18n_title="configurationThrottleMinimumHelp"></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="number">
|
||||
|
@ -111,6 +113,7 @@
|
|||
<input type="number" name="mincommand" min="0" max="2000" />
|
||||
</div>
|
||||
<span i18n="configurationThrottleMinimumCommand"></span>
|
||||
<div class="helpicon cf_tip" i18n_title="configurationThrottleMinimumCommandHelp"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -505,8 +505,8 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
}
|
||||
|
||||
// fill throttle
|
||||
$('input[name="midrc"]').val(MISC.midrc);
|
||||
$('input[name="minthrottle"]').val(MISC.minthrottle);
|
||||
$('input[name="midthrottle"]').val(MISC.midrc);
|
||||
$('input[name="maxthrottle"]').val(MISC.maxthrottle);
|
||||
$('input[name="mincommand"]').val(MISC.mincommand);
|
||||
|
||||
|
@ -599,8 +599,8 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
ARMING_CONFIG.disarm_kill_switch = ~~$('input[name="disarmkillswitch"]').is(':checked'); // ~~ boolean to decimal conversion
|
||||
}
|
||||
|
||||
MISC.midrc = parseInt($('input[name="midrc"]').val());
|
||||
MISC.minthrottle = parseInt($('input[name="minthrottle"]').val());
|
||||
MISC.midrc = parseInt($('input[name="midthrottle"]').val());
|
||||
MISC.maxthrottle = parseInt($('input[name="maxthrottle"]').val());
|
||||
MISC.mincommand = parseInt($('input[name="mincommand"]').val());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue