1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Introduced cli parameter <gyro_offset_yaw>

It allows to manually compensate gyro drift over time.
rebased squashed.
This commit is contained in:
Adrian Miriuta 2018-01-25 12:45:00 +01:00
parent b47cabffef
commit b21d681153
11 changed files with 39 additions and 32 deletions

View file

@ -40,7 +40,7 @@ typedef union flightDynamicsTrims_u {
flightDynamicsTrims_def_t values;
} flightDynamicsTrims_t;
#define CALIBRATING_GYRO_CYCLES 1000
#define CALIBRATING_GYRO_CYCLES 10000
#define CALIBRATING_ACC_CYCLES 400
#define CALIBRATING_BARO_CYCLES 200 // 10 seconds init_delay + 200 * 25 ms = 15 seconds before ground pressure settles