TPA gravity factor (for wings) (#13778)
commite43b33a02a00317777e10a7434da87d2c422c1d5
authorIvan Efimov <gendalf44@yandex.ru>
Sat, 27 Jul 2024 07:50:32 +0000 (27 02:50 -0500)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2024 07:50:32 +0000 (27 09:50 +0200)
tree0a41e4c39292e610c5bcc3ca56f76e0c22759252
parentbafcebcb8ee4d4f8f451151e34c4a37dc157d962
TPA gravity factor (for wings) (#13778)

* Wing TPA gravity factor

* Small corrections according to ledvinap's review (not all yet)

* Some review changes for tpa_gravity

* using throttle after LPF to scale between thr0 and thr100

* tpa gravity further review and fixes

* tpa gravity: removed logging of pitch angle, since it's just pitch

* moved tpa_gravity to the end in pid.h

* KarateBrot review
src/main/blackbox/blackbox.c
src/main/cli/settings.c
src/main/common/maths.c
src/main/common/maths.h
src/main/fc/parameter_names.h
src/main/flight/imu.c
src/main/flight/imu.h
src/main/flight/pid.c
src/main/flight/pid.h
src/main/flight/pid_init.c