1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Crash Recovery Delay - Against false positive. (#3640)

Delay detection setting - crash_delay added.
This commit is contained in:
Vidalcris 2017-07-29 07:37:02 +02:00 committed by Martin Budden
parent 402de03bd4
commit 69f4008944
3 changed files with 15 additions and 6 deletions

View file

@ -102,6 +102,7 @@ typedef struct pidProfile_s {
uint16_t crash_gthreshold; // gyro crash value
uint16_t crash_setpoint_threshold; // setpoint must be below this value to detect crash, so flips and rolls are not interpreted as crashes
uint16_t crash_time; // ms
uint16_t crash_delay; // ms
uint8_t crash_recovery_angle; // degrees
uint8_t crash_recovery_rate; // degree/second
pidCrashRecovery_e crash_recovery; // off, on, on and beeps when it is in crash recovery mode