mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Constrain rates minimum setting (#3124)
Constrain rates minumum setting
This commit is contained in:
parent
29593eccbb
commit
402b7323a8
1 changed files with 3 additions and 1 deletions
|
@ -3042,7 +3042,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
|
||||||
let rcRateMax = 2.55, rcRateMin = 0.01, rcRateStep = 0.01;
|
let rcRateMax = 2.55, rcRateMin = 0.01, rcRateStep = 0.01;
|
||||||
let rateMax = 1.0, rateStep = 0.01;
|
let rateMax = 1.0, rateStep = 0.01;
|
||||||
let expoMax = 1.0, expoStep = 0.01;
|
let expoMax = 1.0, expoStep = 0.01;
|
||||||
const rateMin = 0;
|
let rateMin = 0;
|
||||||
const expoMin = 0;
|
const expoMin = 0;
|
||||||
|
|
||||||
const pitch_rate_e = $('.pid_tuning input[name="pitch_rate"]');
|
const pitch_rate_e = $('.pid_tuning input[name="pitch_rate"]');
|
||||||
|
@ -3120,6 +3120,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
|
||||||
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
|
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
|
||||||
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
|
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
|
||||||
|
|
||||||
|
rateMin = 10;
|
||||||
rateMax = 2000;
|
rateMax = 2000;
|
||||||
rateStep = 10;
|
rateStep = 10;
|
||||||
rcRateMax = 2000;
|
rcRateMax = 2000;
|
||||||
|
@ -3150,6 +3151,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
|
||||||
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
|
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
|
||||||
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
|
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
|
||||||
|
|
||||||
|
rateMin = 10;
|
||||||
rateMax = 2000;
|
rateMax = 2000;
|
||||||
rateStep = 10;
|
rateStep = 10;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue