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

Use crash detection to limit yaw

This commit is contained in:
Martin Budden 2017-08-22 08:41:32 +01:00
parent be8391e3db
commit cd757c8a89
3 changed files with 24 additions and 21 deletions

View file

@ -105,7 +105,7 @@ typedef struct pidProfile_s {
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
uint16_t gyroRateLimitYaw; // limits yaw gyroRate, so crashes don't cause huge throttle increase
uint16_t crash_limit_yaw; // limits yaw errorRate, so crashes don't cause huge throttle increase
} pidProfile_t;
PG_DECLARE_ARRAY(pidProfile_t, MAX_PROFILE_COUNT, pidProfiles);