1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 22:05:13 +03:00

Added new rc rate calculation to rates curve. Removed SUPER_EXPO feature for >= 3.0.

Added support for RC Expo Power setting.

fixed titlebar in pid tuning tab

request from @mikeller #252
fixed titlebar from pid tuning and accel
This commit is contained in:
mikeller 2016-08-27 12:34:05 +12:00 committed by Michael Keller
parent 158a415bfc
commit 1da5219bf2
8 changed files with 165 additions and 159 deletions

View file

@ -140,6 +140,11 @@ MspHelper.prototype.process_data = function(dataHandler) {
} else {
RC_tuning.RC_YAW_EXPO = 0;
}
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
RC_tuning.rcExpoPower = data.readU8();
} else {
RC_tuning.rcExpoPower = 3;
}
break;
case MSPCodes.MSP_PID:
// PID data arrived, we need to scale it and save to appropriate bank / array
@ -954,6 +959,9 @@ MspHelper.prototype.crunch = function(code) {
buffer.push8(Math.round(RC_tuning.rcYawRate * 100));
}
}
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
buffer.push8(RC_tuning.rcExpoPower);
}
break;
case MSPCodes.MSP_SET_RX_MAP:
for (var i = 0; i < RC_MAP.length; i++) {