Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions locale/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,63 @@
"configurationBatteryCapacityUnit": {
"message": "Battery Capacity Unit"
},
"configurationPowerLimits": {
"message": "Power Limiting"
},
"configurationPowerLimitsHelp": {
"message": "Limit battery current and power draw to protect your battery and ESCs. Set to 0 to disable. Units: dA (deci-amps) = A×10, dW (deci-watts) = W×10, ds (deci-seconds) = s×10."
},
"configurationPowerLimitsNote": {
"message": "Protects battery from over-current by smoothly reducing throttle. Requires current sensor. Set continuous and burst limits per your battery specs."
},
"configurationLimitContCurrent": {
"message": "Continuous Current Limit (dA)"
},
"configurationLimitContCurrentHelp": {
"message": "Maximum sustained current draw in deci-amps (dA). Example: 500 = 50A. Set to 0 to disable current limiting."
},
"configurationLimitBurstCurrent": {
"message": "Burst Current Limit (dA)"
},
"configurationLimitBurstCurrentHelp": {
"message": "Higher current allowed for short bursts (punch-outs, climbs). Example: 750 = 75A. Should be >= continuous limit."
},
"configurationLimitBurstCurrentTime": {
"message": "Burst Current Time (ds)"
},
"configurationLimitBurstCurrentTimeHelp": {
"message": "Duration burst current is allowed in deci-seconds (ds). Example: 100 = 10 seconds. After this time, limit falls to continuous."
},
"configurationLimitBurstCurrentFalldownTime": {
"message": "Burst Current Falldown Time (ds)"
},
"configurationLimitBurstCurrentFalldownTimeHelp": {
"message": "Smooth ramp-down time from burst to continuous limit in deci-seconds (ds). Example: 20 = 2 seconds."
},
"configurationLimitContPower": {
"message": "Continuous Power Limit (dW)"
},
"configurationLimitContPowerHelp": {
"message": "Maximum sustained power draw in deci-watts (dW). Example: 8000 = 800W. Set to 0 to disable power limiting. Requires voltage measurement."
},
"configurationLimitBurstPower": {
"message": "Burst Power Limit (dW)"
},
"configurationLimitBurstPowerHelp": {
"message": "Higher power allowed for short bursts. Example: 10000 = 1000W. Should be >= continuous limit."
},
"configurationLimitBurstPowerTime": {
"message": "Burst Power Time (ds)"
},
"configurationLimitBurstPowerTimeHelp": {
"message": "Duration burst power is allowed in deci-seconds (ds). Example: 50 = 5 seconds."
},
"configurationLimitBurstPowerFalldownTime": {
"message": "Burst Power Falldown Time (ds)"
},
"configurationLimitBurstPowerFalldownTimeHelp": {
"message": "Smooth ramp-down time from burst to continuous power limit in deci-seconds (ds). Example: 10 = 1 second."
},
"configurationLaunch": {
"message": "Fixed Wing Auto Launch Settings"
},
Expand Down
74 changes: 74 additions & 0 deletions tabs/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,80 @@
</div>
</div>

<div class="config-section gui_box grey">
<div class="gui_box_titlebar">
<div class="spacer_box_title" data-i18n="configurationPowerLimits"></div>
<div class="helpicon cf_tip" data-i18n_title="configurationPowerLimitsHelp"></div>
</div>
<div class="spacer_box">
<div class="note">
<div class="note_spacer">
<p data-i18n="configurationPowerLimitsNote"></p>
</div>
</div>

<!-- Current Limits -->
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_cont_current" name="limit_cont_current" step="1" min="0" max="2000" data-setting="limit_cont_current" />
<label for="limit_cont_current">
<span data-i18n="configurationLimitContCurrent"></span>
</label>
<div for="limit_cont_current" class="helpicon cf_tip" data-i18n_title="configurationLimitContCurrentHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_current" name="limit_burst_current" step="1" min="0" max="2000" data-setting="limit_burst_current" />
<label for="limit_burst_current">
<span data-i18n="configurationLimitBurstCurrent"></span>
</label>
<div for="limit_burst_current" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstCurrentHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_current_time" name="limit_burst_current_time" step="1" min="0" max="600" data-setting="limit_burst_current_time" />
<label for="limit_burst_current_time">
<span data-i18n="configurationLimitBurstCurrentTime"></span>
</label>
<div for="limit_burst_current_time" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstCurrentTimeHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_current_falldown_time" name="limit_burst_current_falldown_time" step="1" min="0" max="600" data-setting="limit_burst_current_falldown_time" />
<label for="limit_burst_current_falldown_time">
<span data-i18n="configurationLimitBurstCurrentFalldownTime"></span>
</label>
<div for="limit_burst_current_falldown_time" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstCurrentFalldownTimeHelp"></div>
</div>

<!-- Power Limits -->
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_cont_power" name="limit_cont_power" step="1" min="0" max="20000" data-setting="limit_cont_power" />
<label for="limit_cont_power">
<span data-i18n="configurationLimitContPower"></span>
</label>
<div for="limit_cont_power" class="helpicon cf_tip" data-i18n_title="configurationLimitContPowerHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_power" name="limit_burst_power" step="1" min="0" max="20000" data-setting="limit_burst_power" />
<label for="limit_burst_power">
<span data-i18n="configurationLimitBurstPower"></span>
</label>
<div for="limit_burst_power" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstPowerHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_power_time" name="limit_burst_power_time" step="1" min="0" max="600" data-setting="limit_burst_power_time" />
<label for="limit_burst_power_time">
<span data-i18n="configurationLimitBurstPowerTime"></span>
</label>
<div for="limit_burst_power_time" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstPowerTimeHelp"></div>
</div>
<div class="number">
<input type="number" class="batteryProfileHighlight" id="limit_burst_power_falldown_time" name="limit_burst_power_falldown_time" step="1" min="0" max="600" data-setting="limit_burst_power_falldown_time" />
<label for="limit_burst_power_falldown_time">
<span data-i18n="configurationLimitBurstPowerFalldownTime"></span>
</label>
<div for="limit_burst_power_falldown_time" class="helpicon cf_tip" data-i18n_title="configurationLimitBurstPowerFalldownTimeHelp"></div>
</div>
</div>
</div>

<div class="config-section gui_box grey config-vtx">
<div class="gui_box_titlebar">
<div class="spacer_box_title" data-i18n="configurationVTX"></div>
Expand Down