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

Dterm robust differentiator Initial Implementation

This commit is contained in:
borisbstyle 2016-04-27 21:08:15 +02:00
parent f4219aebba
commit cbcf028302
4 changed files with 35 additions and 46 deletions

View file

@ -179,7 +179,7 @@ static void resetPidProfile(pidProfile_t *pidProfile)
pidProfile->yaw_p_limit = YAW_P_LIMIT_MAX;
pidProfile->yaw_lpf_hz = 70.0f;
pidProfile->dterm_average_count = 0;
pidProfile->dynamic_dterm_threshold = 20;
pidProfile->dterm_differentiator = 1;
pidProfile->rollPitchItermResetRate = 200;
pidProfile->yawItermResetRate = 50;
pidProfile->dterm_lpf_hz = 70.0f; // filtering ON by default