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

Add late P boost to antigravity

This commit is contained in:
ctzsnooze 2020-09-05 21:52:19 +10:00
parent de35df8e07
commit d1bf5d0d11
3 changed files with 51 additions and 5 deletions

View file

@ -253,8 +253,10 @@ typedef struct pidRuntime_s {
bool antiGravityEnabled;
uint8_t antiGravityMode;
pt1Filter_t antiGravityThrottleLpf;
pt1Filter_t antiGravitySmoothLpf;
float antiGravityOsdCutoff;
float antiGravityThrottleHpf;
float antiGravityPBoost;
float ffBoostFactor;
float itermAccelerator;
uint16_t itermAcceleratorGain;