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

Throttle limit feature (#5608)

Adds new throttle_limit_type and throttle_limit_percent parameters that allow the pilot to limit the maximum commanded throttle seen by the flight controller by either scaling or clipping the maximum throttle.  The default is 100 representing no limiting.  So as an example, if a pilot was to set throttle_limit_type = SCALE and throttle_limit_percent = 80 the throttle input would scale from 0 to 80% based on full stick deflection from the radio.

This capability replaces the method of limiting throttle in the radio which some pilots are using to manage throttle on tight courses or reduce overall battery consumption when the extra power isn't needed.

There is no effect on the maximum throttle seen by the motors so the mixer still has full authority.
This commit is contained in:
Bruce Luckcuck 2018-04-05 00:01:28 -04:00 committed by Michael Keller
parent c71cfe1b8c
commit 7bc600d651
6 changed files with 36 additions and 2 deletions

View file

@ -87,6 +87,7 @@ typedef enum {
#ifdef USE_DUAL_GYRO
TABLE_GYRO,
#endif
TABLE_THROTTLE_LIMIT_TYPE,
LOOKUP_TABLE_COUNT
} lookupTableIndex_e;