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

[CALIBRATION] Separate library for zero calibration with variance calculation (time based, with retry); Migrate GYRO and ACC to new calibration; Implement movement threshold for acc calibration to discard shaky measurements

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2019-01-13 16:19:02 +01:00
parent 96bd8149bc
commit f8017b9d35
11 changed files with 338 additions and 99 deletions

View file

@ -2068,7 +2068,7 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
case MSP_ACC_CALIBRATION:
if (!ARMING_FLAG(ARMED))
accSetCalibrationCycles(CALIBRATING_ACC_CYCLES);
accStartCalibration();
else
return MSP_RESULT_ERROR;
break;