mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
accSoftLpfHz
This commit is contained in:
parent
ead5f02022
commit
f88f0b7d81
2 changed files with 4 additions and 2 deletions
3
js/fc.js
3
js/fc.js
|
@ -218,7 +218,8 @@ var FC = {
|
||||||
magHoldRateLimit: null,
|
magHoldRateLimit: null,
|
||||||
magHoldErrorLpfFrequency: null,
|
magHoldErrorLpfFrequency: null,
|
||||||
yawJumpPreventionLimit: null,
|
yawJumpPreventionLimit: null,
|
||||||
gyroscopeLpf: null
|
gyroscopeLpf: null,
|
||||||
|
accSoftLpfHz: null
|
||||||
}
|
}
|
||||||
|
|
||||||
_3D = {
|
_3D = {
|
||||||
|
|
|
@ -1106,6 +1106,7 @@ var MSP = {
|
||||||
INAV_PID_CONFIG.magHoldErrorLpfFrequency = data.getUint8(6);
|
INAV_PID_CONFIG.magHoldErrorLpfFrequency = data.getUint8(6);
|
||||||
INAV_PID_CONFIG.yawJumpPreventionLimit = data.getUint16(7);
|
INAV_PID_CONFIG.yawJumpPreventionLimit = data.getUint16(7);
|
||||||
INAV_PID_CONFIG.gyroscopeLpf = data.getUint8(9);
|
INAV_PID_CONFIG.gyroscopeLpf = data.getUint8(9);
|
||||||
|
INAV_PID_CONFIG.accSoftLpfHz = data.getUint8(10);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSP_codes.MSP_SET_INAV_PID:
|
case MSP_codes.MSP_SET_INAV_PID:
|
||||||
|
@ -1527,12 +1528,12 @@ MSP.crunch = function (code) {
|
||||||
buffer.push(highByte(INAV_PID_CONFIG.yawJumpPreventionLimit));
|
buffer.push(highByte(INAV_PID_CONFIG.yawJumpPreventionLimit));
|
||||||
|
|
||||||
buffer.push(INAV_PID_CONFIG.gyroscopeLpf);
|
buffer.push(INAV_PID_CONFIG.gyroscopeLpf);
|
||||||
|
buffer.push(INAV_PID_CONFIG.accSoftLpfHz);
|
||||||
|
|
||||||
buffer.push(0); //reserved
|
buffer.push(0); //reserved
|
||||||
buffer.push(0); //reserved
|
buffer.push(0); //reserved
|
||||||
buffer.push(0); //reserved
|
buffer.push(0); //reserved
|
||||||
buffer.push(0); //reserved
|
buffer.push(0); //reserved
|
||||||
buffer.push(0); //reserved
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue