Add PID adjustment from AUX transmitter channel (#5584)
commit6f088d0fd2c56f7f0167e769d5215f3b13e733ce
authorSteveCEvans <SteveCEvans@users.noreply.github.com>
Tue, 17 Apr 2018 12:23:44 +0000 (17 13:23 +0100)
committerMichael Keller <github@ike.ch>
Tue, 17 Apr 2018 12:23:44 +0000 (18 00:23 +1200)
tree863c88b120714f12618ab06eddf47dd8db980957
parenta1d10b49f4eb2e13f3159cdfc91d7c362f1c4fb1
Add PID adjustment from AUX transmitter channel (#5584)

* Scale PIDs using aux channels

* Add control via variables and documentation

* Use USE_TXPID

* Removed OWNER_TXPID

* Use PWM_RANGE_MIDDLE

* Fix typos

* Move Tx PID arrays into pidProfile_t

* Move macro to pidUpdateRate function

* Enable TXPID on REVONANO

* Add support for direct setting of adjustments from aux channel

* Change variable name from adjustmentScale to adjustmentScale to avoid confusion

* Update documentation

* Change variable name from adjustmentScale to adjustmentScale to avoid confusion

* Only adjust settings if adjustment channel has changed value

* Fix formatting

* Use pidAudioModes_e type in ADJUSTMENT_PID_AUDIO setting. Only allow absolute override of settings of ADJUSTMENT_MODE_STEP.

* Add example 6

* Fix checking of adjustment mode

* Fix USE_PID_AUDIO code. Broke SPRACINGF7DUAL.
docs/Inflight Adjustments.md
src/main/fc/rc_adjustments.c
src/main/fc/rc_adjustments.h
src/main/interface/cli.c