1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Refactor rate limit

This commit is contained in:
borisbstyle 2016-08-05 14:18:31 +02:00
parent cb72f0a6d6
commit 81c06ace92
5 changed files with 12 additions and 12 deletions

View file

@ -245,8 +245,8 @@ static void resetPidProfile(pidProfile_t *pidProfile)
// Betaflight PID controller parameters
pidProfile->ptermSetpointWeight = 75;
pidProfile->dtermSetpointWeight = 120;
pidProfile->pidMaxVelocityYaw = 220;
pidProfile->pidMaxVelocityRollPitch = 0;
pidProfile->yawRateAccelLimit = 220;
pidProfile->rateAccelLimit = 0;
pidProfile->toleranceBand = 15;
pidProfile->toleranceBandReduction = 40;
pidProfile->zeroCrossAllowanceCount = 2;