mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
More efficiency in PID code // add yaw velocity to setpoint
This commit is contained in:
parent
a64741365c
commit
b4e61d49c9
6 changed files with 44 additions and 46 deletions
|
@ -245,8 +245,7 @@ static void resetPidProfile(pidProfile_t *pidProfile)
|
|||
// Betaflight PID controller parameters
|
||||
pidProfile->ptermSetpointWeight = 75;
|
||||
pidProfile->dtermSetpointWeight = 200;
|
||||
pidProfile->pidMaxVelocity = 1000;
|
||||
pidProfile->pidMaxVelocityYaw = 50;
|
||||
pidProfile->pidMaxVelocityYaw = 200;
|
||||
pidProfile->toleranceBand = 20;
|
||||
pidProfile->toleranceBandReduction = 40;
|
||||
pidProfile->zeroCrossAllowanceCount = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue