1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 00:35:20 +03:00

accSoftLpfHz

This commit is contained in:
Pawel Spychalski (DzikuVx) 2016-11-08 12:00:23 +01:00 committed by Pawel Spychalski (DzikuVx)
parent ead5f02022
commit f88f0b7d81
2 changed files with 4 additions and 2 deletions

View file

@ -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 = {

View file

@ -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: