1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

TPA optimisations (#12721)

* TPA optimisations

* improvement, thanks @ledvinap

* update following review comments, thanks karatebrot and ledvinap

* include rx.h in pid_init.c to get PWM_RANGE_MIN

* review suggestion
This commit is contained in:
ctzsnooze 2023-05-12 02:38:15 +10:00 committed by GitHub
parent c6b3a1e129
commit 10067ad6ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 15 deletions

View file

@ -322,6 +322,8 @@ typedef struct pidRuntime_s {
bool zeroThrottleItermReset;
bool levelRaceMode;
float tpaFactor;
float tpaBreakpoint;
float tpaMultiplier;
#ifdef USE_ITERM_RELAX
pt1Filter_t windupLpf[XYZ_AXIS_COUNT];