mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Add yaw smoothing back // adjust defaults // KISS fc remove some shared timers
This commit is contained in:
parent
7d119ae669
commit
06be182e50
4 changed files with 5 additions and 12 deletions
|
@ -194,7 +194,7 @@ static void pidBetaflight(const pidProfile_t *pidProfile, uint16_t max_angle_inc
|
|||
configD[axis] = pidProfile->D8[axis];
|
||||
}
|
||||
|
||||
// Limit abrupt yaw inputs
|
||||
// Limit abrupt yaw inputs / stops
|
||||
if (axis == YAW && pidProfile->pidMaxVelocityYaw) {
|
||||
float yawCurrentVelocity = setpointRate[axis] - yawPreviousRate;
|
||||
if (ABS(yawCurrentVelocity) > yawMaxVelocity) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue