Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2022-10-01 13:37:14 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2022-10-01 13:37:14 +0300
commite038ad116ebbdfb44382df7d64ec1f549cc4a8be (patch)
treef34f280ad80a455c04528f2e2303f28db41c9e8a
parent8734b3dc7bb4152f8ff05488759314596dbd2d04 (diff)
Add throtlle_scale to GUI
-rwxr-xr-x_locales/en/messages.json6
-rw-r--r--tabs/outputs.html9
2 files changed, 15 insertions, 0 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index bb77004f..8e6bd6c2 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -4331,5 +4331,11 @@
},
"rcSmoothing": {
"message": "RC Smoothing"
+ },
+ "throttle_scale": {
+ "message": "Throttle scale"
+ },
+ "throttle_scale_help": {
+ "message": "Allow to limit effective power fed to the motors. Throttle Scale 1 mean there is no power limiting. Throttle Scale 0.5 means throttle position will be cut in half before passed to the motors."
}
}
diff --git a/tabs/outputs.html b/tabs/outputs.html
index 6898a7a0..b19f953f 100644
--- a/tabs/outputs.html
+++ b/tabs/outputs.html
@@ -52,6 +52,14 @@
<span data-i18n="throttleIdle"></span>
</label>
</div>
+
+ <div class="number">
+ <input id="throttle_scale" data-setting="throttle_scale" type="number" data-step="0.01" />
+ <label for="throttle_scale">
+ <span data-i18n="throttle_scale"></span>
+ </label>
+ <div for="throttle_scale" class="helpicon cf_tip" data-i18n_title="throttle_scale_help"></div>
+ </div>
<div class="number">
<input id="motor_poles" data-setting="motor_poles" type="number" />
@@ -86,6 +94,7 @@
</label>
</div>
</div>
+
</div>
</div>
<div class="gui_box grey">